浏览代码

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

master
Muzaffar Auhammud 6 年前
父节点
当前提交
adf8806ab9
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      src/httperf.c

+ 1
- 0
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);


正在加载...
取消
保存