From: Sander Temme Date: Mon, 15 Aug 2005 17:16:50 +0000 (+0000) Subject: Make ab negotiate the highest protocol version available. PR 33110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92cebfe497f98f10f96fa78b42c5f944a5fcc416;p=thirdparty%2Fapache%2Fhttpd.git Make ab negotiate the highest protocol version available. PR 33110 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@232836 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/support/ab.c b/src/support/ab.c index 9f12191ac58..dfeebd74613 100644 --- a/src/support/ab.c +++ b/src/support/ab.c @@ -1655,7 +1655,7 @@ int main(int argc, char **argv) #ifdef USE_SSL SSL_library_init(); - if (!(ctx = SSL_CTX_new(SSLv2_client_method()))) { + if (!(ctx = SSL_CTX_new(SSLv23_client_method()))) { fprintf(stderr, "Could not init SSL CTX: "); ERR_print_errors_fp(stderr); exit(1);