use openssl's siphash for 3.0.1 and higher

This commit is contained in:
orignal 2022-05-04 18:58:08 -04:00
parent 436992b069
commit c22ab7e1fc

View File

@ -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