Skip to content

Commit

Permalink
fixed detection of SHA3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
frankmorgner committed Aug 15, 2023
1 parent 720de5d commit 23c327f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libopensc/sc-ossl-compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ extern "C" {
#if LIBRESSL_VERSION_NUMBER < 0x30500000L
#define FIPS_mode() (0)
#endif
#ifndef EVP_sha3_224
/* OpenSSL 1.1.1 has EVP_sha3_* */
#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x30800000L
#define EVP_sha3_224() (NULL)
#define EVP_sha3_256() (NULL)
#define EVP_sha3_384() (NULL)
Expand Down

0 comments on commit 23c327f

Please sign in to comment.