summaryrefslogtreecommitdiff
path: root/ssh-add.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-01-28 22:36:00 +0000
committerDamien Miller <djm@mindrot.org>2015-01-29 10:18:56 +1100
commit9ce86c926dfa6e0635161b035e3944e611cbccf0 (patch)
treed946ba3df439153ece7857d742035a3d6adcbc98 /ssh-add.c
parent9125525c37bf73ad3ee4025520889d2ce9d10f29 (diff)
upstream commit
update to new API (key_fingerprint => sshkey_fingerprint) check sshkey_fingerprint return values; ok markus
Diffstat (limited to 'ssh-add.c')
-rw-r--r--ssh-add.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ssh-add.c b/ssh-add.c
index 5ac51088f..676e65d16 100644
--- a/ssh-add.c
+++ b/ssh-add.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-add.c,v 1.117 2015/01/16 06:40:12 deraadt Exp $ */ 1/* $OpenBSD: ssh-add.c,v 1.118 2015/01/28 22:36:00 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -375,7 +375,8 @@ list_identities(int agent_fd, int do_fp)
375 fp = sshkey_fingerprint(idlist->keys[i], 375 fp = sshkey_fingerprint(idlist->keys[i],
376 fingerprint_hash, SSH_FP_DEFAULT); 376 fingerprint_hash, SSH_FP_DEFAULT);
377 printf("%d %s %s (%s)\n", 377 printf("%d %s %s (%s)\n",
378 sshkey_size(idlist->keys[i]), fp, 378 sshkey_size(idlist->keys[i]),
379 fp == NULL ? "(null)" : fp,
379 idlist->comments[i], 380 idlist->comments[i],
380 sshkey_type(idlist->keys[i])); 381 sshkey_type(idlist->keys[i]));
381 free(fp); 382 free(fp);