OpenSSL 1.1 API. PR: 227172 Submitted by: brnrd Reported by: brnrd Reviewed by: ler (mentor) Approved by: ler (mentor) Differential Revision: https://reviews.freebsd.org/D14957
11 lines
478 B
C
11 lines
478 B
C
--- src/crypto/tls_openssl.c.orig 2016-10-02 18:51:11 UTC
|
|
+++ src/crypto/tls_openssl.c
|
|
@@ -59,7 +59,7 @@ typedef int stack_index_t;
|
|
#endif /* SSL_set_tlsext_status_type */
|
|
|
|
#if (OPENSSL_VERSION_NUMBER < 0x10100000L || \
|
|
- defined(LIBRESSL_VERSION_NUMBER)) && \
|
|
+ (defined(LIBRESSL_VERSION_NUMBER)) && LIBRESSL_VERSION_NUMBER < 0x20700000L) && \
|
|
!defined(BORINGSSL_API_VERSION)
|
|
/*
|
|
* SSL_get_client_random() and SSL_get_server_random() were added in OpenSSL
|