diff options
Diffstat (limited to 'auth2-pubkey.c')
-rw-r--r-- | auth2-pubkey.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/auth2-pubkey.c b/auth2-pubkey.c index f3ca96592..0a3c1deee 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth2-pubkey.c,v 1.41 2014/07/15 15:54:14 millert Exp $ */ | 1 | /* $OpenBSD: auth2-pubkey.c,v 1.42 2014/12/04 02:24:32 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 3 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
4 | * | 4 | * |
@@ -434,8 +434,8 @@ user_cert_trusted_ca(struct passwd *pw, Key *key) | |||
434 | ca_fp = key_fingerprint(key->cert->signature_key, | 434 | ca_fp = key_fingerprint(key->cert->signature_key, |
435 | SSH_FP_MD5, SSH_FP_HEX); | 435 | SSH_FP_MD5, SSH_FP_HEX); |
436 | 436 | ||
437 | if (key_in_file(key->cert->signature_key, | 437 | if (sshkey_in_file(key->cert->signature_key, |
438 | options.trusted_user_ca_keys, 1) != 1) { | 438 | options.trusted_user_ca_keys, 1, 0) != 0) { |
439 | debug2("%s: CA %s %s is not listed in %s", __func__, | 439 | debug2("%s: CA %s %s is not listed in %s", __func__, |
440 | key_type(key->cert->signature_key), ca_fp, | 440 | key_type(key->cert->signature_key), ca_fp, |
441 | options.trusted_user_ca_keys); | 441 | options.trusted_user_ca_keys); |