summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/ext_dat.h
diff options
context:
space:
mode:
authorjsing <>2019-04-21 14:38:32 +0000
committerjsing <>2019-04-21 14:38:32 +0000
commit9f735c157fcd3cc13eca36b60562290151494290 (patch)
tree1073f79286c86c42fd7a38eb95d371cbecb737ed /src/lib/libcrypto/x509v3/ext_dat.h
parent97b79555a90206c77bc3b25c9722207b0496b2e1 (diff)
downloadopenbsd-9f735c157fcd3cc13eca36b60562290151494290.tar.gz
openbsd-9f735c157fcd3cc13eca36b60562290151494290.tar.bz2
openbsd-9f735c157fcd3cc13eca36b60562290151494290.zip
Cleanup more of tls_decrypt_ticket().
Separate the malloc() check and EVP_DecryptUpdate() - the malloc() failure is fatal while a EVP_DecryptUpdate() is a decryption failure. Also ensure that we clear the error stack in all cases where we are indicating a failure to decrypt or decode the ticket - otherwise SSL_error() while later return failure when it should not. ok tb@
Diffstat (limited to 'src/lib/libcrypto/x509v3/ext_dat.h')
0 files changed, 0 insertions, 0 deletions