diff options
author | Damien Miller <djm@mindrot.org> | 2001-07-14 04:13:26 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2001-07-14 04:13:26 +0200 |
commit | 694be4b1d5b42ff176bafbed1c8f2aaa680ff21c (patch) | |
tree | 42c727e7807d61f8999c42ef4baa2571e1f3dba6 /ssh-agent.c | |
parent | - OpenBSD CVS Sync (diff) | |
download | openssh-694be4b1d5b42ff176bafbed1c8f2aaa680ff21c.tar.xz openssh-694be4b1d5b42ff176bafbed1c8f2aaa680ff21c.zip |
- 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 @@ -/* $OpenBSD: ssh-agent.c,v 1.61 2001/07/04 22:47:19 markus Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.62 2001/07/04 23:13:10 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -36,7 +36,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-agent.c,v 1.61 2001/07/04 22:47:19 markus Exp $"); +RCSID("$OpenBSD: ssh-agent.c,v 1.62 2001/07/04 23:13:10 markus Exp $"); #include <openssl/evp.h> #include <openssl/md5.h> @@ -536,6 +536,7 @@ process_remove_smartcard_key(SocketEntry *e) success = 1; } key_free(k); + sc_close(); } buffer_put_int(&e->output, 1); |