From adf8806ab9b5647bde5f5639fe0367f327fcf8ab Mon Sep 17 00:00:00 2001 From: Muzaffar Auhammud Date: Thu, 12 Jul 2018 21:41:54 +0400 Subject: [PATCH] Add missing 'case' statement that causes TLSv1.3 implementation to be unreachable. --- src/httperf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/httperf.c b/src/httperf.c index d2a8100..49727de 100755 --- a/src/httperf.c +++ b/src/httperf.c @@ -1092,6 +1092,7 @@ main(int argc, char **argv) #if (OPENSSL_VERSION_NUMBER >= 0x10101000L) /* 7/TLSv1.3 */ + case 7: ssl_ctx = SSL_CTX_new (TLS_client_method ()); SSL_CTX_set_min_proto_version(ssl_ctx, TLS1_3_VERSION); SSL_CTX_set_max_proto_version(ssl_ctx, TLS1_3_VERSION);