diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2015-07-03 03:43:19 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2015-07-03 03:43:19 +0000 |
commit | 3b0f395da9db6dff9b414b7aec854bb4514684bd (patch) | |
tree | fb6578fc758018b5ac0f02d7db99b5f75853838d /usr.bin/ssh/ssh-add.c | |
parent | 798598d3516d3a49cce8d5dd156268c4132cd5df (diff) |
delete support for legacy v00 certificates; "sure" markus@ dtucker@
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
-rw-r--r-- | usr.bin/ssh/ssh-add.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c index b2677666312..239ef970f76 100644 --- a/usr.bin/ssh/ssh-add.c +++ b/usr.bin/ssh/ssh-add.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-add.c,v 1.122 2015/03/26 12:32:38 naddy Exp $ */ +/* $OpenBSD: ssh-add.c,v 1.123 2015/07/03 03:43:18 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -294,8 +294,7 @@ add_file(int agent_fd, const char *filename, int key_only) } /* Graft with private bits */ - if ((r = sshkey_to_certified(private, - sshkey_cert_is_legacy(cert))) != 0) { + if ((r = sshkey_to_certified(private)) != 0) { error("%s: sshkey_to_certified: %s", __func__, ssh_err(r)); sshkey_free(cert); goto out; |