diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-06 20:27:55 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2002-06-06 20:27:55 +0000 |
commit | 855bf3ac3cf395b282600700c1fd792af1f3fdcb (patch) | |
tree | effce712ac4bb1d7ef46cc3db4fdda2b74756298 /auth.h | |
parent | 4887da222b5dec4e36f85f724d836dfbb6d434c7 (diff) |
- markus@cvs.openbsd.org 2002/05/25 18:51:07
[auth.h auth2.c auth2-hostbased.c auth2-kbdint.c auth2-none.c
auth2-passwd.c auth2-pubkey.c Makefile.in]
split auth2.c into one file per method; ok provos@/deraadt@
NOTE: Merged back noticable cygwin and pam stuff. May need review to
ensure I did not miss anything.
Diffstat (limited to 'auth.h')
-rw-r--r-- | auth.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth.h,v 1.37 2002/05/13 20:44:58 markus Exp $ */ | 1 | /* $OpenBSD: auth.h,v 1.38 2002/05/25 18:51:07 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -100,6 +100,13 @@ BIGNUM *auth_rsa_generate_challenge(Key *); | |||
100 | int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]); | 100 | int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]); |
101 | int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **); | 101 | int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **); |
102 | 102 | ||
103 | /* ssh2 methods */ | ||
104 | int userauth_none(Authctxt *); | ||
105 | int userauth_passwd(Authctxt *); | ||
106 | int userauth_pubkey(Authctxt *); | ||
107 | int userauth_hostbased(Authctxt *); | ||
108 | int userauth_kbdint(Authctxt *); | ||
109 | |||
103 | int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *); | 110 | int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *); |
104 | int hostbased_key_allowed(struct passwd *, const char *, char *, Key *); | 111 | int hostbased_key_allowed(struct passwd *, const char *, char *, Key *); |
105 | int user_key_allowed(struct passwd *, Key *); | 112 | int user_key_allowed(struct passwd *, Key *); |