Add missing error check call in ssl3_get_new_session_ticket()
authortb <tb@openbsd.org>
Tue, 7 Jun 2022 17:39:16 +0000 (17:39 +0000)
committertb <tb@openbsd.org>
Tue, 7 Jun 2022 17:39:16 +0000 (17:39 +0000)
commit0dbf19722ea75adb35cc9fd69cd02d93d8c82f01
tree63c8cdce8e9d5d17660ab8bb58c238d151c7d9e9
parentb7965c0d9b6e66295d7c2c09e0bc1a96981ed61d
Add missing error check call in ssl3_get_new_session_ticket()

EVP_Digest() can fail, so handle failure appropriately and prepare
switch of session_id_length to a size_t.

ok jsing
lib/libssl/ssl_clnt.c