diff options
author | jsing <> | 2014-05-25 13:27:38 +0000 |
---|---|---|
committer | jsing <> | 2014-05-25 13:27:38 +0000 |
commit | fc3ae41e6c3f587c173aca34af47208c06c01668 (patch) | |
tree | 1981463f492523e729cbfd564646012bb0a6574c /src/lib/libssl/ssl.h | |
parent | 272e873b19ba05dbb966cb20a3fa0ca5533b84e2 (diff) | |
download | openbsd-fc3ae41e6c3f587c173aca34af47208c06c01668.tar.gz openbsd-fc3ae41e6c3f587c173aca34af47208c06c01668.tar.bz2 openbsd-fc3ae41e6c3f587c173aca34af47208c06c01668.zip |
The ssl_ciper_get_evp() function is currently overloaded to also return the
compression associated with the SSL session. Based on one of Adam Langley's
chromium diffs, factor out the compression handling code into a separate
ssl_cipher_get_comp() function.
Rewrite the compression handling code to avoid pointless duplication and so
that failures are actually returned to and detectable by the caller.
ok miod@
Diffstat (limited to 'src/lib/libssl/ssl.h')
-rw-r--r-- | src/lib/libssl/ssl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/libssl/ssl.h b/src/lib/libssl/ssl.h index 9744d9783c..6765e3560a 100644 --- a/src/lib/libssl/ssl.h +++ b/src/lib/libssl/ssl.h | |||
@@ -2197,6 +2197,7 @@ void ERR_load_SSL_strings(void); | |||
2197 | #define SSL_R_CERT_LENGTH_MISMATCH 135 | 2197 | #define SSL_R_CERT_LENGTH_MISMATCH 135 |
2198 | #define SSL_R_CHALLENGE_IS_DIFFERENT 136 | 2198 | #define SSL_R_CHALLENGE_IS_DIFFERENT 136 |
2199 | #define SSL_R_CIPHER_CODE_WRONG_LENGTH 137 | 2199 | #define SSL_R_CIPHER_CODE_WRONG_LENGTH 137 |
2200 | #define SSL_R_CIPHER_COMPRESSION_UNAVAILABLE 371 | ||
2200 | #define SSL_R_CIPHER_OR_HASH_UNAVAILABLE 138 | 2201 | #define SSL_R_CIPHER_OR_HASH_UNAVAILABLE 138 |
2201 | #define SSL_R_CIPHER_TABLE_SRC_ERROR 139 | 2202 | #define SSL_R_CIPHER_TABLE_SRC_ERROR 139 |
2202 | #define SSL_R_CLIENTHELLO_TLSEXT 226 | 2203 | #define SSL_R_CLIENTHELLO_TLSEXT 226 |