summaryrefslogtreecommitdiff
path: root/ssh-keysign.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keysign.c')
-rw-r--r--ssh-keysign.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ssh-keysign.c b/ssh-keysign.c
index 6b73319e0..b86e18d8c 100644
--- a/ssh-keysign.c
+++ b/ssh-keysign.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keysign.c,v 1.43 2014/10/08 22:20:25 djm Exp $ */ 1/* $OpenBSD: ssh-keysign.c,v 1.44 2014/12/21 22:27:56 djm Exp $ */
2/* 2/*
3 * Copyright (c) 2002 Markus Friedl. All rights reserved. 3 * Copyright (c) 2002 Markus Friedl. All rights reserved.
4 * 4 *
@@ -246,7 +246,8 @@ main(int argc, char **argv)
246 } 246 }
247 } 247 }
248 if (!found) { 248 if (!found) {
249 fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX); 249 fp = key_fingerprint(key, options.fingerprint_hash,
250 SSH_FP_DEFAULT);
250 fatal("no matching hostkey found for key %s %s", 251 fatal("no matching hostkey found for key %s %s",
251 key_type(key), fp); 252 key_type(key), fp);
252 } 253 }