From: Kaspar Brand Date: Sat, 24 Dec 2011 07:31:50 +0000 (+0000) Subject: add missing #ifdef in ssl_cmd_protocol_parse (should have been in r1222921) X-Git-Tag: 2.5.0-alpha~7627 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b020069af4caf30a4bec302fe6f85dd780dd175c;p=thirdparty%2Fapache%2Fhttpd.git add missing #ifdef in ssl_cmd_protocol_parse (should have been in r1222921) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222930 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_engine_config.c b/modules/ssl/ssl_engine_config.c index 3934ae140c3..6aab7641d69 100644 --- a/modules/ssl/ssl_engine_config.c +++ b/modules/ssl/ssl_engine_config.c @@ -1283,12 +1283,14 @@ static const char *ssl_cmd_protocol_parse(cmd_parms *parms, else if (strcEQ(w, "TLSv1")) { thisopt = SSL_PROTOCOL_TLSV1; } +#ifdef HAVE_TLSV1_X else if (strcEQ(w, "TLSv1.1")) { thisopt = SSL_PROTOCOL_TLSV1_1; } else if (strcEQ(w, "TLSv1.2")) { thisopt = SSL_PROTOCOL_TLSV1_2; } +#endif else if (strcEQ(w, "all")) { thisopt = SSL_PROTOCOL_ALL; }