summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
authorinoguchi <>2022-01-19 11:10:55 +0000
committerinoguchi <>2022-01-19 11:10:55 +0000
commited794ee344aa7dd85356dcf39df4ba9ba32c1b91 (patch)
treeb1eee53ce5c79dcabf405132888be3f9940158ab /src/lib/libcrypto
parent0b28f368d9356ccb000719127af4e7c4635e0549 (diff)
downloadopenbsd-ed794ee344aa7dd85356dcf39df4ba9ba32c1b91.tar.gz
openbsd-ed794ee344aa7dd85356dcf39df4ba9ba32c1b91.tar.bz2
openbsd-ed794ee344aa7dd85356dcf39df4ba9ba32c1b91.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')
0 files changed, 0 insertions, 0 deletions