From fdf518435c06e6c145020455f536ad5d47d1a003 Mon Sep 17 00:00:00 2001 From: Norbert Pocs Date: Thu, 23 Jun 2022 15:34:42 +0000 Subject: [PATCH] Define EC name constants for openssl3 Signed-off-by: Norbert Pocs Reviewed-by: Jakub Jelen Reviewed-by: Andreas Schneider --- src/libcrypto-compat.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/libcrypto-compat.h b/src/libcrypto-compat.h index 437b0534..48e30bd1 100644 --- a/src/libcrypto-compat.h +++ b/src/libcrypto-compat.h @@ -2,6 +2,11 @@ #define LIBCRYPTO_COMPAT_H #include + +#define NISTP256 "P-256" +#define NISTP384 "P-384" +#define NISTP521 "P-521" + #if OPENSSL_VERSION_NUMBER < 0x10100000L #include