From: Rainer Jung Date: Sun, 28 May 2017 14:10:09 +0000 (+0000) Subject: ab: move option processing for setting a custom X-Git-Tag: 2.5.0-alpha~393 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c795a71b68df2ed4401bb02a36dd938e336e818b;p=apache 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 --- 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) {