]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix a failure in sslapitest
authorMatt Caswell <matt@openssl.org>
Wed, 23 Feb 2022 11:16:07 +0000 (11:16 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 23 Feb 2022 11:49:48 +0000 (11:49 +0000)
commit7e1eda483ec9ead36c05066b45ecad618475544c
tree822e5e682dc2ae35de4463525fb0c58d0016bdf7
parent8d215738a05350baa583c47a2c52371d9cff3197
Fix a failure in sslapitest

The SNI test in test_cert_cb_int() was always failing because it used
SSL_CTX_new() instead of SSL_CTX_new_ex() and was therefore not using the
correct libctx. PR #17739 amended the test to check the return value from
SSL_CTX_new() which made the failure obvious.

Fixes #17757

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/17758)
test/sslapitest.c