diff options
author | Damien Miller <djm@mindrot.org> | 2003-11-17 21:13:40 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-11-17 21:13:40 +1100 |
commit | 3e3b5145e59c78cbde0f31f59a9267867b8eea2f (patch) | |
tree | 6725a1cc2cd54237952d89e4811e1cb82cc46a5d /auth.h | |
parent | 8f746ec9703a0072c7a07a25e4c059f7533bf94b (diff) |
- djm@cvs.openbsd.org 2003/11/04 08:54:09
[auth1.c auth2.c auth2-pubkey.c auth.h auth-krb5.c auth-passwd.c]
[auth-rhosts.c auth-rh-rsa.c auth-rsa.c monitor.c serverloop.c]
[session.c]
standardise arguments to auth methods - they should all take authctxt.
check authctxt->valid rather then pw != NULL; ok markus@
Diffstat (limited to 'auth.h')
-rw-r--r-- | auth.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth.h,v 1.47 2003/09/23 20:17:11 markus Exp $ */ | 1 | /* $OpenBSD: auth.h,v 1.48 2003/11/04 08:54:09 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -102,9 +102,9 @@ int auth_rhosts(struct passwd *, const char *); | |||
102 | int | 102 | int |
103 | auth_rhosts2(struct passwd *, const char *, const char *, const char *); | 103 | auth_rhosts2(struct passwd *, const char *, const char *, const char *); |
104 | 104 | ||
105 | int auth_rhosts_rsa(struct passwd *, char *, Key *); | 105 | int auth_rhosts_rsa(Authctxt *, char *, Key *); |
106 | int auth_password(Authctxt *, const char *); | 106 | int auth_password(Authctxt *, const char *); |
107 | int auth_rsa(struct passwd *, BIGNUM *); | 107 | int auth_rsa(Authctxt *, BIGNUM *); |
108 | int auth_rsa_challenge_dialog(Key *); | 108 | int auth_rsa_challenge_dialog(Key *); |
109 | BIGNUM *auth_rsa_generate_challenge(Key *); | 109 | BIGNUM *auth_rsa_generate_challenge(Key *); |
110 | int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]); | 110 | int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]); |