diff options
author | 2014-05-25 13:27:38 +0000 | |
---|---|---|
committer | 2014-05-25 13:27:38 +0000 | |
commit | 4c360d9e278e54ef82a65fe88012fcc01258f3a2 (patch) | |
tree | 71bb950e6734496a42cf3e34be2881a4d714b139 /lib/libssl/src/ssl/ssl_lib.c | |
parent | Whitespace fixes to align define values. (diff) | |
download | wireguard-openbsd-4c360d9e278e54ef82a65fe88012fcc01258f3a2.tar.xz wireguard-openbsd-4c360d9e278e54ef82a65fe88012fcc01258f3a2.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 'lib/libssl/src/ssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions