瀏覽代碼

Optimize OpenSSL initialization by removing synonymous calls to SSL_library_init()

ahc_fix_select^2
Muzaffar Auhammud 6 年之前
父節點
當前提交
2fbd9e93ea
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. +1
    -4
      src/httperf.c

+ 1
- 4
src/httperf.c 查看文件

@@ -1007,12 +1007,9 @@ main(int argc, char **argv)

SSL_library_init ();
SSL_load_error_strings ();
#if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
OpenSSL_add_all_algorithms ();
#else
#if (OPENSSL_VERSION_NUMBER < 0x10100000L)
SSLeay_add_all_algorithms ();
#endif
SSLeay_add_ssl_algorithms ();

switch (param.ssl_protocol)
{


Loading…
取消
儲存