Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:42.2
openCryptoki
ocki-3.5-fix-pkcscca-calls.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ocki-3.5-fix-pkcscca-calls.patch of Package openCryptoki
From 814e5861701798b4f5872fcc20f7292f79987104 Mon Sep 17 00:00:00 2001 From: Eduardo Barretto <ebarreto@linux.vnet.ibm.com> Date: Tue, 30 Aug 2016 16:46:40 -0300 Subject: [PATCH] PKCSCCA: Fix symbol name to get the correct address The csulincl.h file was changed to substitute the xxx_32 bit API declarations with the latest CCA v5. In order to pkcscca work and avoid "Illegal Instruction" we had to fix the symbol name that should be called based on the csulincl.h change. Signed-off-by: Eduardo Barretto <ebarretto@linux.vnet.ibm.com> --- usr/sbin/pkcscca/pkcscca.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/sbin/pkcscca/pkcscca.c b/usr/sbin/pkcscca/pkcscca.c index 6d9f8dd..05caea3 100644 --- a/usr/sbin/pkcscca/pkcscca.c +++ b/usr/sbin/pkcscca/pkcscca.c @@ -1387,9 +1387,9 @@ int main(int argc, char **argv) return -1; } - CSNDKTC = dlsym(lib_csulcca, "CSNDKTC_32"); - CSNBKTC = dlsym(lib_csulcca, "CSNBKTC_32"); - CSNBKTC2 = dlsym(lib_csulcca, "CSNBKTC2_32"); + CSNDKTC = dlsym(lib_csulcca, "CSNDKTC"); + CSNBKTC = dlsym(lib_csulcca, "CSNBKTC"); + CSNBKTC2 = dlsym(lib_csulcca, "CSNBKTC2"); ret = migrate_wrapped_keys(slot_id, userpin, masterkey); } done: -- 1.9.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor