mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
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
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user