mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 18:50:28 +09:00
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:
committed by
Andreas Schneider
parent
debd0ea4d3
commit
fdf518435c
@@ -2,6 +2,11 @@
|
|||||||
#define LIBCRYPTO_COMPAT_H
|
#define LIBCRYPTO_COMPAT_H
|
||||||
|
|
||||||
#include <openssl/opensslv.h>
|
#include <openssl/opensslv.h>
|
||||||
|
|
||||||
|
#define NISTP256 "P-256"
|
||||||
|
#define NISTP384 "P-384"
|
||||||
|
#define NISTP521 "P-521"
|
||||||
|
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||||
|
|
||||||
#include <openssl/rsa.h>
|
#include <openssl/rsa.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user