summaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth.c b/auth.c
index 8b2942956..fd8211505 100644
--- a/auth.c
+++ b/auth.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: auth.c,v 1.120 2017/05/17 01:24:17 djm Exp $ */ 1/* $OpenBSD: auth.c,v 1.121 2017/05/30 08:52:19 markus Exp $ */
2/* 2/*
3 * Copyright (c) 2000 Markus Friedl. All rights reserved. 3 * Copyright (c) 2000 Markus Friedl. All rights reserved.
4 * 4 *
@@ -428,7 +428,7 @@ authorized_principals_file(struct passwd *pw)
428 428
429/* return ok if key exists in sysfile or userfile */ 429/* return ok if key exists in sysfile or userfile */
430HostStatus 430HostStatus
431check_key_in_hostfiles(struct passwd *pw, Key *key, const char *host, 431check_key_in_hostfiles(struct passwd *pw, struct sshkey *key, const char *host,
432 const char *sysfile, const char *userfile) 432 const char *sysfile, const char *userfile)
433{ 433{
434 char *user_hostfile; 434 char *user_hostfile;
@@ -695,7 +695,7 @@ getpwnamallow(const char *user)
695 695
696/* Returns 1 if key is revoked by revoked_keys_file, 0 otherwise */ 696/* Returns 1 if key is revoked by revoked_keys_file, 0 otherwise */
697int 697int
698auth_key_is_revoked(Key *key) 698auth_key_is_revoked(struct sshkey *key)
699{ 699{
700 char *fp = NULL; 700 char *fp = NULL;
701 int r; 701 int r;