mirror of
https://github.com/mirror/wget.git
synced 2025-02-01 07:10:07 +08:00
* src/openssl.c (ssl_init): post handshake auth for OpenSSL
Copyright-paperwork-exempt: Yes
This commit is contained in:
parent
96f48bf412
commit
95a677c7f5
@ -285,6 +285,12 @@ ssl_init (void)
|
||||
if (ssl_options)
|
||||
SSL_CTX_set_options (ssl_ctx, ssl_options);
|
||||
|
||||
#if ((OPENSSL_VERSION_NUMBER >= 0x10101000L) && \
|
||||
!defined(LIBRESSL_VERSION_NUMBER) && \
|
||||
!defined(OPENSSL_IS_BORINGSSL))
|
||||
SSL_CTX_set_post_handshake_auth (ssl_ctx, 1);
|
||||
#endif
|
||||
|
||||
#if !defined(LIBRESSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >= 0x10100000L)
|
||||
if (ssl_proto_version)
|
||||
SSL_CTX_set_min_proto_version(ssl_ctx, ssl_proto_version);
|
||||
|
Loading…
Reference in New Issue
Block a user