sync ports with The Matrix

This commit is contained in:
purplerain 2023-08-18 18:38:43 +00:00
parent 2c0afcbbf3
commit b72ce7a5e9
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
1248 changed files with 11809 additions and 12798 deletions

View file

@ -2,6 +2,7 @@ COMMENT= set of libraries and utilities to access smart cards
V= 0.23.0
DISTNAME= opensc-${V}
REVISION= 0
SHARED_LIBS += opensc 8.0 # 9.0
SHARED_LIBS += smm-local 3.1

View file

@ -1,4 +1,4 @@
pending "LibreSSL fixes" https://github.com/OpenSC/OpenSC/pull/2816
merged "LibreSSL fixes" https://github.com/OpenSC/OpenSC/pull/2816
Index: src/libopensc/sc-ossl-compat.h
--- src/libopensc/sc-ossl-compat.h.orig

View file

@ -1,19 +0,0 @@
pending "LibreSSL fixes" https://github.com/OpenSC/OpenSC/pull/2816
Index: src/pkcs11/pkcs11-global.c
--- src/pkcs11/pkcs11-global.c.orig
+++ src/pkcs11/pkcs11-global.c
@@ -251,8 +251,12 @@ __attribute__((destructor))
int module_close()
{
sc_notify_close();
-#if defined(ENABLE_OPENSSL) && defined(OPENSSL_SECURE_MALLOC_SIZE) && !defined(LIBRESSL_VERSION_NUMBER)
+#if defined(ENABLE_OPENSSL)
+#if defined(OPENSSL_SECURE_MALLOC_SIZE) && !defined(LIBRESSL_VERSION_NUMBER)
CRYPTO_secure_malloc_done();
+#else
+ OPENSSL_cleanup();
+#endif
#endif
#ifdef ENABLE_OPENPACE
EAC_cleanup();