From f0852ebab7b28c1bc1c0c96ce2018a908a8a1ad5 Mon Sep 17 00:00:00 2001 From: Stefan Eissing Date: Tue, 18 May 2021 11:34:29 +0000 Subject: [PATCH] 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 --- modules/md/md_crypt.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/md/md_crypt.c b/modules/md/md_crypt.c index 5c4d9f047e1..6f3ee7b077f 100644 --- a/modules/md/md_crypt.c +++ b/modules/md/md_crypt.c @@ -71,6 +71,11 @@ #include #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 { -- 2.47.3