libssh  0.10.90
The SSH library
Loading...
Searching...
No Matches
libcrypto-compat.h
1#ifndef LIBCRYPTO_COMPAT_H
2#define LIBCRYPTO_COMPAT_H
3
4#include <openssl/opensslv.h>
5
6#define NISTP256 "P-256"
7#define NISTP384 "P-384"
8#define NISTP521 "P-521"
9
10#if OPENSSL_VERSION_NUMBER < 0x30000000L
11#define EVP_PKEY_eq EVP_PKEY_cmp
12#endif /* OPENSSL_VERSION_NUMBER */
13
14#endif /* LIBCRYPTO_COMPAT_H */