use EdDSA from openssl 1.1.1

This commit is contained in:
orignal 2018-09-03 17:39:49 -04:00
parent dc30a4c1ae
commit 2c3b19a539
3 changed files with 82 additions and 1 deletions

View file

@ -266,6 +266,9 @@ namespace crypto
# define LEGACY_OPENSSL 1
#else
# define LEGACY_OPENSSL 0
# if (OPENSSL_VERSION_NUMBER >= 0x010101000) // 1.1.1
# define OPENSSL_EDDSA
# endif
#endif
#if LEGACY_OPENSSL