summaryrefslogtreecommitdiffstats
path: root/support/ab.c
diff options
context:
space:
mode:
authorRainer Jung <rjung@apache.org>2017-05-28 16:10:09 +0200
committerRainer Jung <rjung@apache.org>2017-05-28 16:10:09 +0200
commitc795a71b68df2ed4401bb02a36dd938e336e818b (patch)
tree0534aadb1282b0a0a5f1ac93177e760bc54e05f8 /support/ab.c
parentAdded missing changes for Spanish references to security_tips.html.es in file... (diff)
downloadapache2-c795a71b68df2ed4401bb02a36dd938e336e818b.tar.xz
apache2-c795a71b68df2ed4401bb02a36dd938e336e818b.zip
ab: move option processing for setting a custom
HTTP method outside of the HTTPS only handling. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1796493 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/ab.c')
-rw-r--r--support/ab.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/support/ab.c b/support/ab.c
index 09df8656d8..58769a9c89 100644
--- a/support/ab.c
+++ b/support/ab.c
@@ -2465,14 +2465,14 @@ int main(int argc, const char * const argv[])
case 'B':
myhost = apr_pstrdup(cntxt, opt_arg);
break;
-#ifdef USE_SSL
- case 'Z':
- ssl_cipher = strdup(opt_arg);
- break;
case 'm':
method = CUSTOM_METHOD;
method_str[CUSTOM_METHOD] = strdup(opt_arg);
break;
+#ifdef USE_SSL
+ case 'Z':
+ ssl_cipher = strdup(opt_arg);
+ break;
case 'f':
#if OPENSSL_VERSION_NUMBER < 0x10100000L
if (strncasecmp(opt_arg, "ALL", 3) == 0) {