diff options
author | inoguchi <> | 2022-01-19 11:10:55 +0000 |
---|---|---|
committer | inoguchi <> | 2022-01-19 11:10:55 +0000 |
commit | a0f676076e1dde29f618a1e8ac62b1dd15e406d2 (patch) | |
tree | b1eee53ce5c79dcabf405132888be3f9940158ab /src/lib/libcrypto/evp/p_lib.c | |
parent | c5b87243e136d1ba03bf42dbb1e62a66145f17e8 (diff) | |
download | openbsd-a0f676076e1dde29f618a1e8ac62b1dd15e406d2.tar.gz openbsd-a0f676076e1dde29f618a1e8ac62b1dd15e406d2.tar.bz2 openbsd-a0f676076e1dde29f618a1e8ac62b1dd15e406d2.zip |
Check function return value in libtls
EVP_EncryptInit_ex, EVP_DecryptInit_ex and HMAC_Init_ex are possible to
fail and return error.
Error from these functions will be fatal for the callback, and I choose to
return -1.
SSL_CTX_set_tlsext_ticket_key_cb.3 explains the return value of callback.
This also could fix Coverity CID 345319.
ok jsing@ tb@
Diffstat (limited to 'src/lib/libcrypto/evp/p_lib.c')
0 files changed, 0 insertions, 0 deletions