diff --git a/src/httperf.c b/src/httperf.c index 4e42331..86d4e2e 100755 --- a/src/httperf.c +++ b/src/httperf.c @@ -668,6 +668,8 @@ main(int argc, char **argv) param.ssl_ca_path = optarg; else if (flag == ¶m.ssl_protocol) { + param.use_ssl = 1; + if (strcasecmp (optarg, "auto") == 0) param.ssl_protocol = 0; #ifndef OPENSSL_NO_SSL2