Browse Source

use fallback EdDSA implementation with openssl 3.2.0 due to regression in EVP_DigestSign (#23075)

pull/2003/head
orignal 1 year ago
parent
commit
0e98dd5c70
  1. 4
      libi2pd/Crypto.h

4
libi2pd/Crypto.h

@ -39,7 +39,9 @@ @@ -39,7 +39,9 @@
# define LEGACY_OPENSSL 0
# if (OPENSSL_VERSION_NUMBER >= 0x010101000) // 1.1.1
# define OPENSSL_HKDF 1
# define OPENSSL_EDDSA 1
# if (OPENSSL_VERSION_NUMBER < 0x030200000) // 3.2.0, regression in EVP_DigestSign
# define OPENSSL_EDDSA 1
# endif
# define OPENSSL_X25519 1
# if (OPENSSL_VERSION_NUMBER != 0x030000000) // 3.0.0, regression in SipHash
# define OPENSSL_SIPHASH 1

Loading…
Cancel
Save