Browse Source

Fix a bug that ignored the --ssl-protocol parameter

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

+ 2
- 0
src/httperf.c View File

@@ -668,6 +668,8 @@ main(int argc, char **argv)
param.ssl_ca_path = optarg; param.ssl_ca_path = optarg;
else if (flag == &param.ssl_protocol) else if (flag == &param.ssl_protocol)
{ {
param.use_ssl = 1;

if (strcasecmp (optarg, "auto") == 0) if (strcasecmp (optarg, "auto") == 0)
param.ssl_protocol = 0; param.ssl_protocol = 0;
#ifndef OPENSSL_NO_SSL2 #ifndef OPENSSL_NO_SSL2


Loading…
Cancel
Save