summaryrefslogtreecommitdiff
path: root/modules/md
diff options
context:
space:
mode:
authorStefan Eissing <icing@apache.org>2021-05-18 11:34:29 +0000
committerStefan Eissing <icing@apache.org>2021-05-18 11:34:29 +0000
commitf0852ebab7b28c1bc1c0c96ce2018a908a8a1ad5 (patch)
tree8a34e26c252544fb43c62a394544af140ec60af5 /modules/md
parentc3685c7a960c572f83d74ddbae23f7087a129979 (diff)
downloadhttpd-f0852ebab7b28c1bc1c0c96ce2018a908a8a1ad5.tar.gz
mod_md: workaround for missing libressl definitions. [Giovanni Bechis]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1889995 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/md')
-rw-r--r--modules/md/md_crypt.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/md/md_crypt.c b/modules/md/md_crypt.c
index 5c4d9f047e..6f3ee7b077 100644
--- a/modules/md/md_crypt.c
+++ b/modules/md/md_crypt.c
@@ -71,6 +71,11 @@
#include <openssl/ct.h>
#endif
+#if defined(LIBRESSL_VERSION_NUMBER)
+#define EVP_PKEY_X25519 NID_X25519
+#define EVP_PKEY_X448 NID_X448
+#endif
+
static int initialized;
struct md_pkey_t {