mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
mod_ssl: Remove warning over potential uninitialised value
for ssl protocol prior to protocol selection. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1924757 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
5
changes-entries/ssl_prot.txt
Normal file
5
changes-entries/ssl_prot.txt
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
*) mod_ssl: Remove warning over potential uninitialised value
|
||||||
|
for ssl protocol prior to protocol selection.
|
||||||
|
[Graham Leggett]
|
||||||
|
|
@@ -664,7 +664,12 @@ static apr_status_t ssl_init_ctx_protocol(server_rec *s,
|
|||||||
SSLSrvConfigRec *sc = mySrvConfig(s);
|
SSLSrvConfigRec *sc = mySrvConfig(s);
|
||||||
#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \
|
#if OPENSSL_VERSION_NUMBER >= 0x10100000L && \
|
||||||
(!defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER >= 0x20800000L)
|
(!defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER >= 0x20800000L)
|
||||||
int prot;
|
/* default is highest supported version, will be overridden below */
|
||||||
|
#if SSL_HAVE_PROTOCOL_TLSV1_3
|
||||||
|
int prot = TLS1_3_VERSION;
|
||||||
|
#else
|
||||||
|
int prot = TLS1_2_VERSION;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user