diff options
author | djm@openbsd.org <djm@openbsd.org> | 2015-05-01 03:23:51 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-05-10 11:54:10 +1000 |
commit | 179be0f5e62f1f492462571944e45a3da660d82b (patch) | |
tree | 354cf8effdfb0db2f3f1573bc01544a54eb8cec0 /auth.h | |
parent | a42d67be65b719a430b7fcaba2a4e4118382723a (diff) |
upstream commit
prevent authorized_keys options picked up on public key
tests without a corresponding private key authentication being applied to
other authentication methods. Reported by halex@, ok markus@
Diffstat (limited to 'auth.h')
-rw-r--r-- | auth.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,7 +126,7 @@ int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **); int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *); int hostbased_key_allowed(struct passwd *, const char *, char *, Key *); -int user_key_allowed(struct passwd *, Key *); +int user_key_allowed(struct passwd *, Key *, int); void pubkey_auth_info(Authctxt *, const Key *, const char *, ...) __attribute__((__format__ (printf, 3, 4))); void auth2_record_userkey(Authctxt *, struct sshkey *); |