- (djm) Update to fix of bug #584: lock card before return.
From larsch@trustcenter.de
This commit is contained in:
parent
31b3a0a98f
commit
4c322482bb
|
@ -14,6 +14,8 @@
|
|||
- djm@cvs.openbsd.org 2003/06/04 10:23:48
|
||||
[sshd.c]
|
||||
remove duplicated group-dropping code; ok markus@
|
||||
- (djm) Update to fix of bug #584: lock card before return.
|
||||
From larsch@trustcenter.de
|
||||
|
||||
20030603
|
||||
- (djm) Replace setproctitle replacement with code derived from
|
||||
|
@ -442,4 +444,4 @@
|
|||
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
|
||||
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
|
||||
|
||||
$Id: ChangeLog,v 1.2775 2003/06/04 10:32:12 djm Exp $
|
||||
$Id: ChangeLog,v 1.2776 2003/06/04 12:12:17 djm Exp $
|
||||
|
|
|
@ -135,6 +135,7 @@ sc_prkey_op_init(RSA *rsa, struct sc_pkcs15_object **key_obj_out)
|
|||
&pin_obj);
|
||||
if (r == SC_ERROR_OBJECT_NOT_FOUND) {
|
||||
/* no pin required */
|
||||
sc_lock(card);
|
||||
*key_obj_out = key_obj;
|
||||
return 0;
|
||||
} else if (r) {
|
||||
|
|
Loading…
Reference in New Issue