Bugzilla – Attachment 322 Details for
Bug 584
scard-opensc.c doesn't work without PIN
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixed proposed patch
scard-opensc.diff (text/plain), 555 bytes, created by
Nils Larsch
on 2003-06-04 22:03:07 AEST
(
hide
)
Description:
fixed proposed patch
Filename:
MIME Type:
Creator:
Nils Larsch
Created:
2003-06-04 22:03:07 AEST
Size:
555 bytes
patch
obsolete
>--- openssh/scard-opensc.c 2003-04-09 12:59:50.000000000 +0200 >+++ openssh-3.6.1p1/scard-opensc.c 2003-06-04 13:01:29.000000000 +0200 >@@ -133,7 +133,15 @@ > key = key_obj->data; > r = sc_pkcs15_find_pin_by_auth_id(p15card, &key_obj->auth_id, > &pin_obj); >- if (r) { >+ if (r == SC_ERROR_OBJECT_NOT_FOUND) >+ { >+ /* no pin required */ >+ sc_lock(card); >+ *key_obj_out = key_obj; >+ return 0; >+ } >+ else if (r) { >+ /* some other OpenSC internal error */ > error("Unable to find PIN object from SmartCard: %s", > sc_strerror(r)); > goto err;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 584
:
318
| 322