summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/auth.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2017-05-30 08:52:19 +0000
committermarkus <markus@openbsd.org>2017-05-30 08:52:19 +0000
commit40a7db51394e5c220188195fac27c1b434b7b809 (patch)
treeb1d34008c5188840d70beee0d472d5746f14104a /usr.bin/ssh/auth.c
parentremove ssh1 references; ok djm@ (diff)
downloadwireguard-openbsd-40a7db51394e5c220188195fac27c1b434b7b809.tar.xz
wireguard-openbsd-40a7db51394e5c220188195fac27c1b434b7b809.zip
switch from Key typedef with struct sshkey; ok djm@
Diffstat (limited to 'usr.bin/ssh/auth.c')
-rw-r--r--usr.bin/ssh/auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/auth.c b/usr.bin/ssh/auth.c
index b8008a541b4..8f0b8ed2c2c 100644
--- a/usr.bin/ssh/auth.c
+++ b/usr.bin/ssh/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.120 2017/05/17 01:24:17 djm Exp $ */
+/* $OpenBSD: auth.c,v 1.121 2017/05/30 08:52:19 markus Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
@@ -336,7 +336,7 @@ authorized_principals_file(struct passwd *pw)
/* return ok if key exists in sysfile or userfile */
HostStatus
-check_key_in_hostfiles(struct passwd *pw, Key *key, const char *host,
+check_key_in_hostfiles(struct passwd *pw, struct sshkey *key, const char *host,
const char *sysfile, const char *userfile)
{
char *user_hostfile;
@@ -567,7 +567,7 @@ getpwnamallow(const char *user)
/* Returns 1 if key is revoked by revoked_keys_file, 0 otherwise */
int
-auth_key_is_revoked(Key *key)
+auth_key_is_revoked(struct sshkey *key)
{
char *fp = NULL;
int r;