We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da67c39 commit 5fa77c4Copy full SHA for 5fa77c4
Modules/_hashopenssl.c
@@ -45,16 +45,13 @@
45
#define MUNCH_SIZE INT_MAX
46
47
#define PY_OPENSSL_HAS_SCRYPT 1
48
-#if defined(NID_sha512_224) && defined(NID_sha512_256)
49
-#define PY_OPENSSL_HAS_SHA512_2XX 1
50
-#endif
51
#if defined(NID_sha3_224) && defined(NID_sha3_256) && defined(NID_sha3_384) && defined(NID_sha3_512)
52
#define PY_OPENSSL_HAS_SHA3 1
53
#endif
54
-#if defined(NID_shake128) && defined(NID_shake256)
+#if defined(NID_shake128) || defined(NID_shake256)
55
#define PY_OPENSSL_HAS_SHAKE 1
56
57
-#if defined(NID_blake2s256) && defined(NID_blake2b512)
+#if defined(NID_blake2s256) || defined(NID_blake2b512)
58
#define PY_OPENSSL_HAS_BLAKE2 1
59
60
0 commit comments