Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Langley <agl@google.com>2015-02-21 02:32:52 +0300
committerAdam Langley <agl@google.com>2015-03-18 22:54:34 +0300
commit3f92d21094ebb0ee36851d0f85764fefa52491f3 (patch)
treeb76ea92d4b5f42cd4cac060a140b2c29e0fbf884 /include/openssl/rc4.h
parent524e717b87aff15ae2ef44bd03923a48f7aea2f4 (diff)
Add SSL_get_rc4_state.
This allows the current RC4 state of an SSL* to be extracted. We have internal uses for this functionality. Change-Id: Ic124c4b253c8325751f49e7a4c021768620ea4b7 Reviewed-on: https://boringssl-review.googlesource.com/3722 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/rc4.h')
-rw-r--r--include/openssl/rc4.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/openssl/rc4.h b/include/openssl/rc4.h
index b5fc8ede..42a74f2e 100644
--- a/include/openssl/rc4.h
+++ b/include/openssl/rc4.h
@@ -66,12 +66,10 @@ extern "C" {
/* RC4. */
-
-typedef struct rc4_key_st {
+struct rc4_key_st {
uint32_t x, y;
uint32_t data[256];
-} RC4_KEY;
-
+} /* RC4_KEY */;
/* RC4_set_key performs an RC4 key schedule and initialises |rc4key| with |len|
* bytes of key material from |key|. */