From 6390489a55d6980fdff6913deda5ac240960060d Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 7 Nov 2005 13:27:22 +0000 Subject: [PATCH] - obsolete Changed files: opensc-gcc4.patch -> 1.2 opensc-libdir.patch -> 1.4 opensc-segv.patch -> 1.5 --- opensc-gcc4.patch | 12 ------------ opensc-libdir.patch | 21 --------------------- opensc-segv.patch | 19 ------------------- 3 files changed, 52 deletions(-) delete mode 100644 opensc-gcc4.patch delete mode 100644 opensc-libdir.patch delete mode 100644 opensc-segv.patch diff --git a/opensc-gcc4.patch b/opensc-gcc4.patch deleted file mode 100644 index 535b66f..0000000 --- a/opensc-gcc4.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nru opensc-0.9.6.orig/src/pam/pam_support.c opensc-0.9.6/src/pam/pam_support.c ---- opensc-0.9.6.orig/src/pam/pam_support.c 2005-04-14 11:02:10.000000000 +0200 -+++ opensc-0.9.6/src/pam/pam_support.c 2005-04-28 17:51:36.360434392 +0200 -@@ -205,7 +205,7 @@ - - static void _cleanup(pam_handle_t * pamh, void *x, int error_status) - { -- _pam_delete((char *) x); -+ _pam_delete(x); - } - - /* ************************************************************** * diff --git a/opensc-libdir.patch b/opensc-libdir.patch deleted file mode 100644 index f3840a9..0000000 --- a/opensc-libdir.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- opensc-0.8.1/src/pkcs11/Makefile.am.wiget 2003-09-30 09:11:33.000000000 +0200 -+++ opensc-0.8.1/src/pkcs11/Makefile.am 2003-10-08 12:17:05.944565027 +0200 -@@ -1,7 +1,7 @@ - # Process this file with automake to create Makefile.in - - bundledir = @BUNDLEDIR@/pkcs11 --libdir = @libdir@/pkcs11 -+pksc11dir = @libdir@/pkcs11 - includedir = @includedir@/opensc - - MAINTAINERCLEANFILES = Makefile.in -@@ -17,7 +17,8 @@ - framework-pkcs15init.c debug.c - INC = sc-pkcs11.h - --lib_LTLIBRARIES = opensc-pkcs11.la libpkcs11.la pkcs11-spy.la -+lib_LTLIBRARIES = libpkcs11.la opensc-pkcs11.la -+pksc11_LTLIBRARIES = pkcs11-spy.la - - opensc_pkcs11_la_SOURCES = $(SRC) $(INC) - opensc_pkcs11_la_LDFLAGS = -module -avoid-version diff --git a/opensc-segv.patch b/opensc-segv.patch deleted file mode 100644 index faa8889..0000000 --- a/opensc-segv.patch +++ /dev/null @@ -1,19 +0,0 @@ -file->acl[op] can contain special value (1,2,3) cast to pointer; it must be -passed through sc_file_get_acl_entry before dereferencing. - ---- opensc-0.8.1/src/libopensc/card-setcos.c.orig Wed Sep 3 11:28:54 2003 -+++ opensc-0.8.1/src/libopensc/card-setcos.c Wed Jul 21 13:16:44 2004 -@@ -152,8 +152,11 @@ - for (i = 0; i < 6; i++) - idx[i] = ef_idx[i]; - } -- for (i = 0; i < 6; i++) -- buf[i] = acl_to_byte(file->acl[idx[i]]); -+ for (i = 0; i < 6; i++) { -+ const struct sc_acl_entry *entry; -+ entry = sc_file_get_acl_entry(file, idx[i]); -+ buf[i] = acl_to_byte(entry); -+ } - - sc_file_set_sec_attr(file, buf, 6); - } -- 2.43.0