Skip to content

Commit 95f560f

Browse files
authored
Merge pull request #76 from timlegge/main
Don't include whrlpool.h if whirlpool is disabled
2 parents 1cba44e + fb5be11 commit 95f560f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

RSA.xs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@
1212
#include <openssl/ripemd.h>
1313
#if OPENSSL_VERSION_NUMBER >= 0x10000000 && OPENSSL_VERSION_NUMBER < 0x30000000
1414
#ifndef LIBRESSL_VERSION_NUMBER
15+
#ifndef OPENSSL_NO_WHIRLPOOL
1516
#include <openssl/whrlpool.h>
1617
#endif
1718
#endif
19+
#endif
1820
#include <openssl/rsa.h>
1921
#include <openssl/sha.h>
2022
#include <openssl/ssl.h>

0 commit comments

Comments
 (0)