d6c48bed19
Fixes for bnc#880217 - systemd enabled OBS-URL: https://build.opensuse.org/request/show/238818 OBS-URL: https://build.opensuse.org/package/show/security/openCryptoki?expand=0&rev=17
22 lines
875 B
Diff
22 lines
875 B
Diff
commit d564279d2c2913021ca325507d1ce3af3aff078a
|
|
Author: Ingo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
|
|
Date: Fri Feb 7 15:08:27 2014 -0600
|
|
|
|
ep11: switched to official m_init() function based on library change
|
|
|
|
Signed-off-by: Ingo Tuchscherer <ingo.tuchscherer@linux.vnet.ibm.com>
|
|
|
|
diff --git a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
|
|
index a9a72e4..1a43ccb 100644
|
|
--- a/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
|
|
+++ b/usr/lib/pkcs11/ep11_stdll/ep11_specific.c
|
|
@@ -1281,7 +1281,7 @@ CK_RV token_specific_init(char *Correlator, CK_SLOT_ID SlotNumber, char *conf_na
|
|
/* for real HW on Z-series, this would open the
|
|
* device driver file /dev/zcrypt.
|
|
*/
|
|
- if (m_add_backend(NULL,0) < 0) {
|
|
+ if (m_init() < 0) {
|
|
EP11TOK_ELOG(1,"open of the zcrypt device driver failed");
|
|
return CKR_DEVICE_ERROR;
|
|
}
|