summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSverker Eriksson <sverker@erlang.org>2023-05-02 15:48:34 +0200
committerSverker Eriksson <sverker@erlang.org>2023-05-02 15:48:34 +0200
commit07ad0e838234473c3a63f8af143ca9610a819edd (patch)
treeed5b6e6af58d735e1e240f2aba9292c19f483bb4
parent1692be7bd98e9fa37666b7444fe56c30f3e9a3df (diff)
parent814eddd514c69ad87c89cf303e5a4ec41663c882 (diff)
downloaderlang-07ad0e838234473c3a63f8af143ca9610a819edd.tar.gz
Merge branch 'sverker/crypto/libre-ssl-fixing/OTP-18571' into maint
-rw-r--r--lib/crypto/c_src/openssl_config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/crypto/c_src/openssl_config.h b/lib/crypto/c_src/openssl_config.h
index 647ab25ad4..454902f266 100644
--- a/lib/crypto/c_src/openssl_config.h
+++ b/lib/crypto/c_src/openssl_config.h
@@ -127,6 +127,15 @@
# define HAS_EVP_PKEY_CTX
# define HAVE_EVP_CIPHER_CTX_COPY
# endif
+# if LIBRESSL_VERSION_NUMBER >= 0x3070200fL
+# define HAVE_PKEY_new_raw_private_key
+# endif
+# if LIBRESSL_VERSION_NUMBER >= 0x3030300fL
+# define HAVE_EVP_PKEY_new_CMAC_key
+# endif
+# if LIBRESSL_VERSION_NUMBER >= 0x3040100fL
+# define HAVE_DigestSign_as_single_op
+# endif
#endif
#if defined(HAS_EVP_PKEY_CTX) \