summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/cryptlib.c
diff options
context:
space:
mode:
authorjsing <>2014-05-25 13:27:38 +0000
committerjsing <>2014-05-25 13:27:38 +0000
commitfc3ae41e6c3f587c173aca34af47208c06c01668 (patch)
tree1981463f492523e729cbfd564646012bb0a6574c /src/lib/libcrypto/cryptlib.c
parent272e873b19ba05dbb966cb20a3fa0ca5533b84e2 (diff)
downloadopenbsd-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/libcrypto/cryptlib.c')
0 files changed, 0 insertions, 0 deletions