diff options
author | Damien Miller <djm@mindrot.org> | 2001-07-14 12:13:26 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-07-14 12:13:26 +1000 |
commit | 694be4b1d5b42ff176bafbed1c8f2aaa680ff21c (patch) | |
tree | 42c727e7807d61f8999c42ef4baa2571e1f3dba6 /ssh-agent.c | |
parent | 48bfa9cafaff0a8f615cb16449f9a3a2fdc39d67 (diff) |
- OpenBSD CVS Sync
- markus@cvs.openbsd.org 2001/07/04 23:13:10
[scard.c scard.h ssh-agent.c]
handle card removal more gracefully, add sc_close() to scard.h
Diffstat (limited to 'ssh-agent.c')
-rw-r--r-- | ssh-agent.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ssh-agent.c b/ssh-agent.c index 392d1a0cd..61e79c5fc 100644 --- a/ssh-agent.c +++ b/ssh-agent.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh-agent.c,v 1.61 2001/07/04 22:47:19 markus Exp $ */ | 1 | /* $OpenBSD: ssh-agent.c,v 1.62 2001/07/04 23:13:10 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -36,7 +36,7 @@ | |||
36 | */ | 36 | */ |
37 | 37 | ||
38 | #include "includes.h" | 38 | #include "includes.h" |
39 | RCSID("$OpenBSD: ssh-agent.c,v 1.61 2001/07/04 22:47:19 markus Exp $"); | 39 | RCSID("$OpenBSD: ssh-agent.c,v 1.62 2001/07/04 23:13:10 markus Exp $"); |
40 | 40 | ||
41 | #include <openssl/evp.h> | 41 | #include <openssl/evp.h> |
42 | #include <openssl/md5.h> | 42 | #include <openssl/md5.h> |
@@ -536,6 +536,7 @@ process_remove_smartcard_key(SocketEntry *e) | |||
536 | success = 1; | 536 | success = 1; |
537 | } | 537 | } |
538 | key_free(k); | 538 | key_free(k); |
539 | sc_close(); | ||
539 | } | 540 | } |
540 | 541 | ||
541 | buffer_put_int(&e->output, 1); | 542 | buffer_put_int(&e->output, 1); |