Browse Source

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

pull/1474/head
orignal 5 years ago
parent
commit
76f95644b7
  1. 2
      libi2pd/Crypto.h

2
libi2pd/Crypto.h

@ -28,7 +28,7 @@
#else #else
# define LEGACY_OPENSSL 0 # define LEGACY_OPENSSL 0
# if (OPENSSL_VERSION_NUMBER >= 0x010101000) // 1.1.1 # if (OPENSSL_VERSION_NUMBER >= 0x010101000) // 1.1.1
# define OPENSSL_HKDF 1 # define OPENSSL_HKDF 1
# define OPENSSL_EDDSA 1 # define OPENSSL_EDDSA 1
# define OPENSSL_X25519 1 # define OPENSSL_X25519 1
# define OPENSSL_SIPHASH 1 # define OPENSSL_SIPHASH 1

Loading…
Cancel
Save