SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,18 @@
pending "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 */