1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

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
This commit is contained in:
Kaspar Brand
2011-12-24 07:31:50 +00:00
parent b2a91b7f4f
commit b020069af4

View File

@@ -1283,12 +1283,14 @@ static const char *ssl_cmd_protocol_parse(cmd_parms *parms,
else if (strcEQ(w, "TLSv1")) { else if (strcEQ(w, "TLSv1")) {
thisopt = SSL_PROTOCOL_TLSV1; thisopt = SSL_PROTOCOL_TLSV1;
} }
#ifdef HAVE_TLSV1_X
else if (strcEQ(w, "TLSv1.1")) { else if (strcEQ(w, "TLSv1.1")) {
thisopt = SSL_PROTOCOL_TLSV1_1; thisopt = SSL_PROTOCOL_TLSV1_1;
} }
else if (strcEQ(w, "TLSv1.2")) { else if (strcEQ(w, "TLSv1.2")) {
thisopt = SSL_PROTOCOL_TLSV1_2; thisopt = SSL_PROTOCOL_TLSV1_2;
} }
#endif
else if (strcEQ(w, "all")) { else if (strcEQ(w, "all")) {
thisopt = SSL_PROTOCOL_ALL; thisopt = SSL_PROTOCOL_ALL;
} }