diff options
author | markus@openbsd.org <markus@openbsd.org> | 2017-05-30 08:52:19 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-05-31 10:47:31 +1000 |
commit | 54d90ace1d3535b44d92a8611952dc109a74a031 (patch) | |
tree | 1b5ff69321b88b32fba058fe2c966bf177c95b28 /auth.c | |
parent | c221219b1fbee47028dcaf66613f4f8d6b7640e9 (diff) |
upstream commit
switch from Key typedef with struct sshkey; ok djm@
Upstream-ID: 3067d33e04efbe5131ce8f70668c47a58e5b7a1f
Diffstat (limited to 'auth.c')
-rw-r--r-- | auth.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 */ |
430 | HostStatus | 430 | HostStatus |
431 | check_key_in_hostfiles(struct passwd *pw, Key *key, const char *host, | 431 | check_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 */ |
697 | int | 697 | int |
698 | auth_key_is_revoked(Key *key) | 698 | auth_key_is_revoked(struct sshkey *key) |
699 | { | 699 | { |
700 | char *fp = NULL; | 700 | char *fp = NULL; |
701 | int r; | 701 | int r; |