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)
downloadopenssh-git-855bf3ac3cf395b282600700c1fd792af1f3fdcb.tar.gz
- 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 2211c5b2..59646ebe 100644
--- a/auth.h
+++ b/auth.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.h,v 1.37 2002/05/13 20:44:58 markus Exp $ */
+/* $OpenBSD: auth.h,v 1.38 2002/05/25 18:51:07 markus Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -100,6 +100,13 @@ BIGNUM *auth_rsa_generate_challenge(Key *);
int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]);
int auth_rsa_key_allowed(struct passwd *, BIGNUM *, Key **);
+/* ssh2 methods */
+int userauth_none(Authctxt *);
+int userauth_passwd(Authctxt *);
+int userauth_pubkey(Authctxt *);
+int userauth_hostbased(Authctxt *);
+int userauth_kbdint(Authctxt *);
+
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 *);