diff options
Diffstat (limited to 'ssh-add.c')
-rw-r--r-- | ssh-add.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); |