Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:kernel-2.6.32
opensc
opensc-code-fixes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File opensc-code-fixes.patch of Package opensc
--- src/libopensc/card-entersafe.c +++ src/libopensc/card-entersafe.c @@ -913,7 +913,7 @@ return entersafe_compute_with_prkey(card,crgram,crgram_len,out,outlen); } -static int entersafe_init_pin_info(struct sc_pin_cmd_pin *pin, unsigned int num) +static void entersafe_init_pin_info(struct sc_pin_cmd_pin *pin, unsigned int num) { pin->encoding = SC_PIN_ENCODING_ASCII; pin->min_length = 4; --- src/libopensc/card-gemsafeV1.c +++ src/libopensc/card-gemsafeV1.c @@ -332,7 +332,7 @@ tag = sc_asn1_find_tag(ctx, p, len, 0x8C, &tlen); if (tag) { - r = gemsafe_setacl(card, file, tag, type == "DF" ? 1 : 0); + r = gemsafe_setacl(card, file, tag, strcmp(type, "DF") ? 0 : 1); if (r < 0) { sc_debug(ctx, "unable to set ACL\n"); return SC_ERROR_INTERNAL;
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