summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2002-06-06 20:27:55 +0000
committerBen Lindstrom <mouring@eviladmin.org>2002-06-06 20:27:55 +0000
commit855bf3ac3cf395b282600700c1fd792af1f3fdcb (patch)
treeeffce712ac4bb1d7ef46cc3db4fdda2b74756298 /auth.h
parent4887da222b5dec4e36f85f724d836dfbb6d434c7 (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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/auth.h b/auth.h
index 2211c5b2a..59646ebe4 100644
--- a/auth.h
+++ b/auth.h
@@ -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 *);
100int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]); 100int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]);
101int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **); 101int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **);
102 102
103/* ssh2 methods */
104int userauth_none(Authctxt *);
105int userauth_passwd(Authctxt *);
106int userauth_pubkey(Authctxt *);
107int userauth_hostbased(Authctxt *);
108int userauth_kbdint(Authctxt *);
109
103int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *); 110int auth_rhosts_rsa_key_allowed(struct passwd *, char *, char *, Key *);
104int hostbased_key_allowed(struct passwd *, const char *, char *, Key *); 111int hostbased_key_allowed(struct passwd *, const char *, char *, Key *);
105int user_key_allowed(struct passwd *, Key *); 112int user_key_allowed(struct passwd *, Key *);