- fix build with libressl-devel
PR: 211502 Reported by: Helmut Ritter Obtained from: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/mail/postfix/stable/patches/
This commit is contained in:
parent
257d5ee430
commit
5894099eb9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=419488
1 changed files with 14 additions and 0 deletions
14
mail/postfix/files/patch-src_tls_tls.h
Normal file
14
mail/postfix/files/patch-src_tls_tls.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
# fix build against LibreSSL
|
||||
# Obtained from: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/mail/postfix/stable/patches/
|
||||
#
|
||||
--- src/tls/tls.h.orig 2016-02-06 20:09:41 UTC
|
||||
+++ src/tls/tls.h
|
||||
@@ -89,7 +89,7 @@ extern const char *str_tls_level(int);
|
||||
#endif
|
||||
|
||||
/* Backwards compatibility with OpenSSL < 1.1.0 */
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
#define OpenSSL_version_num SSLeay
|
||||
#define OpenSSL_version SSLeay_version
|
||||
#define OPENSSL_VERSION SSLEAY_VERSION
|
Loading…
Reference in a new issue