use x25519 from openssl 1.1.1 for ephemeral keys

This commit is contained in:
orignal 2018-09-05 11:19:58 -04:00
parent 2c58fe736b
commit 33aa8e2471
3 changed files with 33 additions and 1 deletions

View file

@ -268,6 +268,7 @@ namespace crypto
# define LEGACY_OPENSSL 0
# if (OPENSSL_VERSION_NUMBER >= 0x010101000) // 1.1.1
# define OPENSSL_EDDSA 1
# define OPENSSL_X25519 1
# endif
#endif