fixed #1461. Use openssl's HKDF for 1.1.1 anf higher

This commit is contained in:
orignal 2020-01-22 09:50:50 -05:00
parent 09c6c2a4f3
commit 928b90d5bc

View File

@ -27,8 +27,8 @@
# define X509_getm_notAfter X509_get_notAfter
#else
# define LEGACY_OPENSSL 0
# define OPENSSL_HKDF 1
# if (OPENSSL_VERSION_NUMBER >= 0x010101000) // 1.1.1
# define OPENSSL_HKDF 1
# define OPENSSL_EDDSA 1
# define OPENSSL_X25519 1
# define OPENSSL_SIPHASH 1