summaryrefslogtreecommitdiffstats
path: root/auth.h
diff options
context:
space:
mode:
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 *);