diff options
| author | Yann Ylavic <ylavic@apache.org> | 2018-06-15 11:25:46 +0000 |
|---|---|---|
| committer | Yann Ylavic <ylavic@apache.org> | 2018-06-15 11:25:46 +0000 |
| commit | 6d730fb7ed6c2da3e9f1c966c35a32b478a8bbfe (patch) | |
| tree | efeb2b95944016610d0bd4e6586a2ace8e2cb689 /modules/ssl/ssl_engine_kernel.c | |
| parent | 35ca22d231f30107aff092222476d93f1a555c71 (diff) | |
| download | httpd-6d730fb7ed6c2da3e9f1c966c35a32b478a8bbfe.tar.gz | |
mod_ssl: use SSL_HAVE_PROTOCOL_TLSV1_3 to check for compiled in TLS 1.3.
More meaningful than SSL_OP_NO_TLSv1_3, hopefully...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1833589 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ssl/ssl_engine_kernel.c')
| -rw-r--r-- | modules/ssl/ssl_engine_kernel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index 4fbcb0ba45..2b0bc75a22 100644 --- a/modules/ssl/ssl_engine_kernel.c +++ b/modules/ssl/ssl_engine_kernel.c @@ -1126,7 +1126,7 @@ static int ssl_hook_Access_classic(request_rec *r, SSLSrvConfigRec *sc, SSLDirCo return DECLINED; } -#ifdef SSL_OP_NO_TLSv1_3 +#if SSL_HAVE_PROTOCOL_TLSV1_3 /* * Access Handler, modern flavour, for SSL/TLS v1.3 and onward. * Only client certificates can be requested, everything else stays. @@ -1305,7 +1305,7 @@ int ssl_hook_Access(request_rec *r) return DECLINED; } -#ifdef SSL_OP_NO_TLSv1_3 +#if SSL_HAVE_PROTOCOL_TLSV1_3 /* TLSv1.3+ is less complicated here. Branch off into a new codeline * and avoid messing with the past. */ if (SSL_version(ssl) >= TLS1_3_VERSION) { |
