security/opensc: Neuter various API reimplementations that were broken
with the latest LibreSSL bump. All this API is now provided by the libraries.
This commit is contained in:
parent
89e9a397cc
commit
668981d212
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.56 2020/11/25 14:26:26 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.57 2021/10/31 17:19:13 tb Exp $
|
||||
|
||||
COMMENT= set of libraries and utilities to access smart cards
|
||||
|
||||
V= 0.21.0
|
||||
DISTNAME= opensc-${V}
|
||||
REVISION= 0
|
||||
|
||||
SHARED_LIBS += opensc 7.2 # 6.0
|
||||
SHARED_LIBS += smm-local 3.1 # 6.0
|
||||
|
14
security/opensc/patches/patch-src_libopensc_sc-ossl-compat_h
Normal file
14
security/opensc/patches/patch-src_libopensc_sc-ossl-compat_h
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-src_libopensc_sc-ossl-compat_h,v 1.5 2021/10/31 17:19:13 tb Exp $
|
||||
|
||||
Index: src/libopensc/sc-ossl-compat.h
|
||||
--- src/libopensc/sc-ossl-compat.h.orig
|
||||
+++ src/libopensc/sc-ossl-compat.h
|
||||
@@ -71,7 +71,7 @@ extern "C" {
|
||||
#define EVP_PKEY_base_id(x) (x->type)
|
||||
#endif
|
||||
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
#define RSA_PKCS1_OpenSSL RSA_PKCS1_SSLeay
|
||||
|
||||
#define X509_get_extension_flags(x) (x->ex_flags)
|
Loading…
x
Reference in New Issue
Block a user