From e57dfc478bd93f945e354fd051cf3d06909ae37f Mon Sep 17 00:00:00 2001 From: Muzaffar Auhammud Date: Thu, 12 Jul 2018 21:34:07 +0400 Subject: [PATCH] Fix a bug that ignored the --ssl-protocol parameter --- src/httperf.c | 2 ++ 1 file changed, 2 insertions(+) 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