Browse Source

Add missing 'case' statement that causes TLSv1.3 implementation to be unreachable.

master
Muzaffar Auhammud 6 years ago
parent
commit
adf8806ab9
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/httperf.c

+ 1
- 0
src/httperf.c View File

@@ -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);


Loading…
Cancel
Save