Define EC name constants for openssl3

Signed-off-by: Norbert Pocs <npocs@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Norbert Pocs
2022-06-23 15:34:42 +00:00
committed by Andreas Schneider
parent debd0ea4d3
commit fdf518435c

View File

@@ -2,6 +2,11 @@
#define LIBCRYPTO_COMPAT_H
#include <openssl/opensslv.h>
#define NISTP256 "P-256"
#define NISTP384 "P-384"
#define NISTP521 "P-521"
#if OPENSSL_VERSION_NUMBER < 0x10100000L
#include <openssl/rsa.h>