From: Stefan Eissing Date: Tue, 18 May 2021 11:34:29 +0000 (+0000) Subject: mod_md: workaround for missing libressl definitions. [Giovanni Bechis] X-Git-Tag: 2.5.0-alpha2-ci-test-only~940 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0852ebab7b28c1bc1c0c96ce2018a908a8a1ad5;p=thirdparty%2Fapache%2Fhttpd.git 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 --- 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 {