add missing #ifdef in ssl_cmd_protocol_parse (should have been in r1222921)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@
1222931 13f79535-47bb-0310-9956-
ffa450edef68
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;
}