summaryrefslogtreecommitdiffstats
path: root/test/clienthellotest.c
diff options
context:
space:
mode:
authorraja-ashok <rashok.svks@gmail.com>2019-05-31 05:20:54 +0200
committerMatt Caswell <matt@openssl.org>2019-08-15 15:33:06 +0200
commit5bf2eade559a0d3081013048b1373da460701ba5 (patch)
treee2132c9844ef6fe8c82b3efd2ab5273471ccb617 /test/clienthellotest.c
parentFix SSL_set_ciphersuites to set even if no call to SSL_set_cipher_list (diff)
downloadopenssl-5bf2eade559a0d3081013048b1373da460701ba5.tar.xz
openssl-5bf2eade559a0d3081013048b1373da460701ba5.zip
Test SSL_set_ciphersuites
Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9079)
Diffstat (limited to 'test/clienthellotest.c')
-rw-r--r--test/clienthellotest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/clienthellotest.c b/test/clienthellotest.c
index 03b8745595..b4563b5beb 100644
--- a/test/clienthellotest.c
+++ b/test/clienthellotest.c
@@ -89,6 +89,7 @@ static int test_client_hello(int currtest)
case TEST_SET_SESSION_TICK_DATA_VER_NEG:
#if !defined(OPENSSL_NO_TLS1_3) && defined(OPENSSL_NO_TLS1_2)
/* TLSv1.3 is enabled and TLSv1.2 is disabled so can't do this test */
+ SSL_CTX_free(ctx);
return 1;
#else
/* Testing for session tickets <= TLS1.2; not relevant for 1.3 */