[exim-cvs] TLS: build dependency for LibreSSL

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Exim Git Commits Mailing List
Data:  
Para: exim-cvs
Asunto: [exim-cvs] TLS: build dependency for LibreSSL
Gitweb: https://git.exim.org/exim.git/commitdiff/a19b9248eb5ec0414ccc4d214055e2c99debaba5
Commit:     a19b9248eb5ec0414ccc4d214055e2c99debaba5
Parent:     e2e0f812212b81ac029f90b57c63ee88455f6a12
Author:     Renaud Allard <renaud@???>
AuthorDate: Tue Sep 14 10:47:52 2021 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Tue Sep 14 10:49:33 2021 +0100


    TLS: build dependency for LibreSSL


    (cherry picked from commit 48505c2b8095289f1226fe9a9fc63d4bcb387c87)
---
 src/src/tls-openssl.c | 4 ++++
 1 file changed, 4 insertions(+)


diff --git a/src/src/tls-openssl.c b/src/src/tls-openssl.c
index 89f11ce..4d9baf9 100644
--- a/src/src/tls-openssl.c
+++ b/src/src/tls-openssl.c
@@ -90,6 +90,10 @@ change this guard and punt the issue for a while longer. */
# endif
#endif

+#if LIBRESSL_VERSION_NUMBER >= 0x3040000fL
+# define EXIM_HAVE_OPENSSL_CIPHER_GET_ID
+#endif
+
 #if !defined(LIBRESSL_VERSION_NUMBER) \
     || LIBRESSL_VERSION_NUMBER >= 0x20010000L
 # if !defined(OPENSSL_NO_ECDH)