export PKCS#11 symbols from pkcs11-spy (#1283306)
This commit is contained in:
parent
05baf30d09
commit
3ef218b80a
75
opensc-export-symbols.patch
Normal file
75
opensc-export-symbols.patch
Normal file
@ -0,0 +1,75 @@
|
||||
diff --git a/src/pkcs11/pkcs11-spy.exports b/src/pkcs11/pkcs11-spy.exports
|
||||
index 562ecea..9b9b01c 100644
|
||||
--- a/src/pkcs11/pkcs11-spy.exports
|
||||
+++ b/src/pkcs11/pkcs11-spy.exports
|
||||
@@ -1 +1,70 @@
|
||||
+C_Initialize
|
||||
+C_Finalize
|
||||
+C_GetInfo
|
||||
C_GetFunctionList
|
||||
+C_GetSlotList
|
||||
+C_GetSlotInfo
|
||||
+C_GetTokenInfo
|
||||
+C_GetMechanismList
|
||||
+C_GetMechanismInfo
|
||||
+C_InitToken
|
||||
+C_InitPIN
|
||||
+C_SetPIN
|
||||
+C_OpenSession
|
||||
+C_CloseSession
|
||||
+C_CloseAllSessions
|
||||
+C_GetSessionInfo
|
||||
+C_GetOperationState
|
||||
+C_SetOperationState
|
||||
+C_Login
|
||||
+C_Logout
|
||||
+C_CreateObject
|
||||
+C_CopyObject
|
||||
+C_DestroyObject
|
||||
+C_GetObjectSize
|
||||
+C_GetAttributeValue
|
||||
+C_SetAttributeValue
|
||||
+C_FindObjectsInit
|
||||
+C_FindObjects
|
||||
+C_FindObjectsFinal
|
||||
+C_EncryptInit
|
||||
+C_Encrypt
|
||||
+C_EncryptUpdate
|
||||
+C_EncryptFinal
|
||||
+C_DecryptInit
|
||||
+C_Decrypt
|
||||
+C_DecryptUpdate
|
||||
+C_DecryptFinal
|
||||
+C_DigestInit
|
||||
+C_Digest
|
||||
+C_DigestUpdate
|
||||
+C_DigestKey
|
||||
+C_DigestFinal
|
||||
+C_SignInit
|
||||
+C_Sign
|
||||
+C_SignUpdate
|
||||
+C_SignFinal
|
||||
+C_SignRecoverInit
|
||||
+C_SignRecover
|
||||
+C_VerifyInit
|
||||
+C_Verify
|
||||
+C_VerifyUpdate
|
||||
+C_VerifyFinal
|
||||
+C_VerifyRecoverInit
|
||||
+C_VerifyRecover
|
||||
+C_DigestEncryptUpdate
|
||||
+C_DecryptDigestUpdate
|
||||
+C_SignEncryptUpdate
|
||||
+C_DecryptVerifyUpdate
|
||||
+C_GenerateKey
|
||||
+C_GenerateKeyPair
|
||||
+C_WrapKey
|
||||
+C_UnwrapKey
|
||||
+C_DeriveKey
|
||||
+C_SeedRandom
|
||||
+C_GenerateRandom
|
||||
+C_GetFunctionStatus
|
||||
+C_CancelFunction
|
||||
+C_WaitForSlotEvent
|
||||
+C_Initialize
|
||||
+C_Finalize
|
@ -1,6 +1,6 @@
|
||||
Name: opensc
|
||||
Version: 0.15.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Smart card library and applications
|
||||
|
||||
Group: System Environment/Libraries
|
||||
@ -21,6 +21,7 @@ Obsoletes: mozilla-opensc-signer < 0.12.0
|
||||
Obsoletes: opensc-devel < 0.12.0
|
||||
|
||||
Patch0: opensc-0.15.0-fork-issue.patch
|
||||
Patch1: opensc-export-symbols.patch
|
||||
|
||||
%description
|
||||
OpenSC provides a set of libraries and utilities to work with smart cards. Its
|
||||
@ -36,6 +37,7 @@ every software/card that does so, too.
|
||||
%setup -q -n OpenSC-%{version}
|
||||
|
||||
%patch0 -p1 -b .fork-issue
|
||||
%patch1 -p1 -b .export-symbols
|
||||
|
||||
cp -p src/pkcs15init/README ./README.pkcs15init
|
||||
cp -p src/scconf/README.scconf .
|
||||
@ -137,6 +139,9 @@ rm -rf %{buildroot}%{_sysconfdir}/bash_completion.d/
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Nov 19 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.15.0-3
|
||||
- Export PKCS#11 symbols from spy library (#1283306)
|
||||
|
||||
* Tue Aug 4 2015 Nikos Mavrogiannopoulos <nmav@redhat.com> - 0.15.0-2
|
||||
- Updated fix for issue with C_Initialize after fork() (#1218797)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user