Skip to content

Commit

Permalink
add missing #ifdef in ssl_cmd_protocol_parse (should have been in r12…
Browse files Browse the repository at this point in the history
…22921)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1222930 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Kaspar Brand committed Dec 24, 2011
1 parent 1b38d55 commit 1a3c8e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/ssl/ssl_engine_config.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1a3c8e3

Please sign in to comment.