Bugzilla – Attachment 318 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]
proposed patch
scard-opensc.diff (text/plain), 537 bytes, created by
Nils Larsch
on 2003-06-03 19:10:39 AEST
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Nils Larsch
Created:
2003-06-03 19:10:39 AEST
Size:
537 bytes
patch
obsolete
>--- openssh/scard-opensc.c 2003-04-09 12:59:50.000000000 +0200 >+++ openssh-3.6.1p1/scard-opensc.c 2003-06-03 11:09:14.000000000 +0200 >@@ -133,7 +133,14 @@ > 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 */ >+ *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