diff options
author | jsing <> | 2019-04-21 14:38:32 +0000 |
---|---|---|
committer | jsing <> | 2019-04-21 14:38:32 +0000 |
commit | 9d67ecf4c90ec22967a3567548dcdcd75a595535 (patch) | |
tree | 1073f79286c86c42fd7a38eb95d371cbecb737ed /src/lib/libcrypto/x509v3/pcy_node.c | |
parent | ff92701144072b1cbeb06a78e6615046efcafebd (diff) | |
download | openbsd-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