summaryrefslogtreecommitdiff
path: root/auth-rsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth-rsa.c')
-rw-r--r--auth-rsa.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/auth-rsa.c b/auth-rsa.c
index e9f4ede26..ff7a13221 100644
--- a/auth-rsa.c
+++ b/auth-rsa.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth-rsa.c,v 1.88 2014/07/15 15:54:14 millert Exp $ */ 1/* $OpenBSD: auth-rsa.c,v 1.89 2014/12/21 22:27:56 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
@@ -236,7 +236,8 @@ rsa_key_allowed_in_file(struct passwd *pw, char *file,
236 "actual %d vs. announced %d.", 236 "actual %d vs. announced %d.",
237 file, linenum, BN_num_bits(key->rsa->n), bits); 237 file, linenum, BN_num_bits(key->rsa->n), bits);
238 238
239 fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX); 239 fp = key_fingerprint(key, options.fingerprint_hash,
240 SSH_FP_DEFAULT);
240 debug("matching key found: file %s, line %lu %s %s", 241 debug("matching key found: file %s, line %lu %s %s",
241 file, linenum, key_type(key), fp); 242 file, linenum, key_type(key), fp);
242 free(fp); 243 free(fp);