summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509v3/pcy_node.c
diff options
context:
space:
mode:
authorjsing <>2019-04-21 14:38:32 +0000
committerjsing <>2019-04-21 14:38:32 +0000
commit9d67ecf4c90ec22967a3567548dcdcd75a595535 (patch)
tree1073f79286c86c42fd7a38eb95d371cbecb737ed /src/lib/libcrypto/x509v3/pcy_node.c
parentff92701144072b1cbeb06a78e6615046efcafebd (diff)
downloadopenbsd-9d67ecf4c90ec22967a3567548dcdcd75a595535.tar.gz
openbsd-9d67ecf4c90ec22967a3567548dcdcd75a595535.tar.bz2
openbsd-9d67ecf4c90ec22967a3567548dcdcd75a595535.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/pcy_node.c')
0 files changed, 0 insertions, 0 deletions