diff options
author | djm@openbsd.org <djm@openbsd.org> | 2017-05-04 08:10:57 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-05-08 01:18:27 +0200 |
commit | 744bde79c3361e2153cb395a2ecdcee6c713585d (patch) | |
tree | 92be0f1ec014b6fb890ceca970afe367e7dc49e8 /authfd.c | |
parent | upstream commit (diff) | |
download | openssh-744bde79c3361e2153cb395a2ecdcee6c713585d.tar.xz openssh-744bde79c3361e2153cb395a2ecdcee6c713585d.zip |
upstream commit
since a couple of people have asked, leave a comment
explaining why we retain SSH v.1 support in the "delete all keys from agent"
path.
Upstream-ID: 4b42dcfa339813c15fe9248a2c1b7ed41c21bbb4
Diffstat (limited to 'authfd.c')
-rw-r--r-- | authfd.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: authfd.c,v 1.101 2017/04/30 23:10:43 djm Exp $ */ +/* $OpenBSD: authfd.c,v 1.102 2017/05/04 06:10:57 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -575,6 +575,10 @@ ssh_update_card(int sock, int add, const char *reader_id, const char *pin, /* * Removes all identities from the agent. * This call is intended only for use by ssh-add(1) and like applications. + * + * This supports the SSH protocol 1 message to because, when clearing all + * keys from an agent, we generally want to clear both protocol v1 and v2 + * keys. */ int ssh_remove_all_identities(int sock, int version) |