summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-02-02 10:38:39 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-02-02 10:38:39 +0000
commitac8bf5a9f0942486bdb71db957c5ba7485cd3c94 (patch)
tree511129aa7f63932c4cae8f3b11bcc6c323842060
parent9c29c48f8327fc20b3840ce2fb4dad4a6c8003b2 (diff)
Protect build against LibreSSL.
Broken-by: 9c29c48f83
-rw-r--r--src/src/sha_ver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/src/sha_ver.h b/src/src/sha_ver.h
index 2428e52d6..b86e9a831 100644
--- a/src/src/sha_ver.h
+++ b/src/src/sha_ver.h
@@ -35,7 +35,7 @@
# else
# define SHA_OPENSSL
# include <openssl/ssl.h>
-# if OPENSSL_VERSION_NUMBER >= 0x10101000L
+# if (OPENSSL_VERSION_NUMBER >= 0x10101000L) && !defined(LIBRESSL_VERSION_NUMBER)
# define EXIM_HAVE_SHA3
# endif
# endif