You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by kb...@apache.org on 2011/12/24 08:31:50 UTC

svn commit: r1222930 - /httpd/httpd/trunk/modules/ssl/ssl_engine_config.c

Author: kbrand
Date: Sat Dec 24 07:31:50 2011
New Revision: 1222930

URL: http://svn.apache.org/viewvc?rev=1222930&view=rev
Log:
add missing #ifdef in ssl_cmd_protocol_parse (should have been in r1222921)

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_engine_config.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_config.c?rev=1222930&r1=1222929&r2=1222930&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_config.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_config.c Sat Dec 24 07:31:50 2011
@@ -1283,12 +1283,14 @@ static const char *ssl_cmd_protocol_pars
         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;
         }