From c795a71b68df2ed4401bb02a36dd938e336e818b Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Sun, 28 May 2017 14:10:09 +0000 Subject: [PATCH] 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 --- support/ab.c | 8 ++++---- 1 file 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) { -- 2.50.1