aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-09-17 11:55:24 +0200
committerHans Nilsson <[email protected]>2018-09-18 10:11:46 +0200
commite23384bdb5653f3c304beafb3042fabe9f599e25 (patch)
tree7713467635fc181968ebb62b017c36d80be6e9da /lib
parentecf6e712f2721fe27431f0093d176c4c2e9bde71 (diff)
downloadotp-e23384bdb5653f3c304beafb3042fabe9f599e25.tar.gz
otp-e23384bdb5653f3c304beafb3042fabe9f599e25.tar.bz2
otp-e23384bdb5653f3c304beafb3042fabe9f599e25.zip
crypto: Disable problematic RSA options in LibreSSL
Diffstat (limited to 'lib')
-rw-r--r--lib/crypto/c_src/crypto.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
index 07ef60e395..3172059414 100644
--- a/lib/crypto/c_src/crypto.c
+++ b/lib/crypto/c_src/crypto.c
@@ -213,8 +213,10 @@
# define HAVE_ECB_IVEC_BUG
#endif
-#ifdef RSA_SSLV23_PADDING
-# define HAVE_RSA_SSLV23_PADDING
+#ifndef HAS_LIBRESSL
+# ifdef RSA_SSLV23_PADDING
+# define HAVE_RSA_SSLV23_PADDING
+# endif
#endif
#if OPENSSL_VERSION_NUMBER >= PACKED_OPENSSL_VERSION_PLAIN(1,0,0)