summaryrefslogtreecommitdiff
path: root/auth.c
diff options
context:
space:
mode:
authormarkus@openbsd.org <markus@openbsd.org>2017-05-30 08:52:19 +0000
committerDamien Miller <djm@mindrot.org>2017-05-31 10:47:31 +1000
commit54d90ace1d3535b44d92a8611952dc109a74a031 (patch)
tree1b5ff69321b88b32fba058fe2c966bf177c95b28 /auth.c
parentc221219b1fbee47028dcaf66613f4f8d6b7640e9 (diff)
upstream commit
switch from Key typedef with struct sshkey; ok djm@ Upstream-ID: 3067d33e04efbe5131ce8f70668c47a58e5b7a1f
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;