18 lines
704 B
Text
18 lines
704 B
Text
merged "LibreSSL fixes" https://github.com/OpenSC/OpenSC/pull/2816
|
|
|
|
Index: src/libopensc/sc-ossl-compat.h
|
|
--- src/libopensc/sc-ossl-compat.h.orig
|
|
+++ src/libopensc/sc-ossl-compat.h
|
|
@@ -49,12 +49,6 @@ extern "C" {
|
|
#if LIBRESSL_VERSION_NUMBER < 0x30500000L
|
|
#define FIPS_mode() (0)
|
|
#endif
|
|
-#define EVP_sha3_224() (NULL)
|
|
-#define EVP_sha3_256() (NULL)
|
|
-#define EVP_sha3_384() (NULL)
|
|
-#define EVP_sha3_512() (NULL)
|
|
-#define EVP_PKEY_new_raw_public_key(t, e, p, l) (NULL)
|
|
-#define EVP_PKEY_get_raw_public_key(p, pu, l) (0)
|
|
#endif
|
|
|
|
/* OpenSSL 1.1.1 has FIPS_mode function */
|