]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Make ab negotiate the highest protocol version available. PR 33110
authorSander Temme <sctemme@apache.org>
Mon, 15 Aug 2005 17:16:50 +0000 (17:16 +0000)
committerSander Temme <sctemme@apache.org>
Mon, 15 Aug 2005 17:16:50 +0000 (17:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@232836 13f79535-47bb-0310-9956-ffa450edef68

src/support/ab.c

index 9f12191ac58546f87c95556ba9d1e26f1c6537b4..dfeebd746136bb8dd36d34328579bca3bc722d0f 100644 (file)
@@ -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);