diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2015-08-26 09:25:17 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2015-08-26 09:25:17 +0000 |
commit | d994eeedda788efc28b630e10a33548453293473 (patch) | |
tree | 17adf9bed3cc39b4f8db3c235622326d1cdcc34f /ssh-add.c | |
parent | b5a1b3a82df411cb95b6a850e9d9d90bc3d082f9 (diff) | |
download | src-d994eeedda788efc28b630e10a33548453293473.tar.gz src-d994eeedda788efc28b630e10a33548453293473.zip |
Notes
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ssh-add.c b/ssh-add.c index 9c8da5437e3c..d6271d78ef79 100644 --- a/ssh-add.c +++ b/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 @@ -302,8 +302,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; |