summaryrefslogtreecommitdiffstats
path: root/auth.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-11-17 11:13:40 +0100
committerDamien Miller <djm@mindrot.org>2003-11-17 11:13:40 +0100
commit3e3b5145e59c78cbde0f31f59a9267867b8eea2f (patch)
tree6725a1cc2cd54237952d89e4811e1cb82cc46a5d /auth.h
parent - jakob@cvs.openbsd.org 2003/11/03 09:37:32 (diff)
downloadopenssh-3e3b5145e59c78cbde0f31f59a9267867b8eea2f.tar.xz
openssh-3e3b5145e59c78cbde0f31f59a9267867b8eea2f.zip
- 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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth.h b/auth.h
index b081bb5cb..34afdb492 100644
--- a/auth.h
+++ b/auth.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.h,v 1.47 2003/09/23 20:17:11 markus Exp $ */
+/* $OpenBSD: auth.h,v 1.48 2003/11/04 08:54:09 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -102,9 +102,9 @@ int auth_rhosts(struct passwd *, const char *);
int
auth_rhosts2(struct passwd *, const char *, const char *, const char *);
-int auth_rhosts_rsa(struct passwd *, char *, Key *);
+int auth_rhosts_rsa(Authctxt *, char *, Key *);
int auth_password(Authctxt *, const char *);
-int auth_rsa(struct passwd *, BIGNUM *);
+int auth_rsa(Authctxt *, BIGNUM *);
int auth_rsa_challenge_dialog(Key *);
BIGNUM *auth_rsa_generate_challenge(Key *);
int auth_rsa_verify_response(Key *, BIGNUM *, u_char[]);