Browse Source

use openssl's siphash for 3.0.1 and higher

pull/1754/head
orignal 3 years ago
parent
commit
c22ab7e1fc
  1. 2
      libi2pd/Crypto.h

2
libi2pd/Crypto.h

@ -39,7 +39,7 @@ @@ -39,7 +39,7 @@
# define OPENSSL_HKDF 1
# define OPENSSL_EDDSA 1
# define OPENSSL_X25519 1
# if (OPENSSL_VERSION_NUMBER < 0x030000000) // 3.0.0, regression in SipHash
# if (OPENSSL_VERSION_NUMBER != 0x030000000) // 3.0.0, regression in SipHash
# define OPENSSL_SIPHASH 1
# endif
# endif

Loading…
Cancel
Save