summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-05-25 13:27:38 +0000
committerjsing <jsing@openbsd.org>2014-05-25 13:27:38 +0000
commit4c360d9e278e54ef82a65fe88012fcc01258f3a2 (patch)
tree71bb950e6734496a42cf3e34be2881a4d714b139 /lib/libssl/ssl_lib.c
parentWhitespace fixes to align define values. (diff)
downloadwireguard-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/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions