summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/auth.h
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2003-11-04 08:54:10 +0000
committerDamien Miller <djm@cvs.openbsd.org>2003-11-04 08:54:10 +0000
commit0935421334417c1804a045cc1588986576d8731e (patch)
treed1c52163f410e86df7294af8e451f78cef7194f5 /usr.bin/ssh/auth.h
parent066472cf2c608f2134ccab0b677adb9af872c521 (diff)
standardise arguments to auth methods - they should all take authctxt.
check authctxt->valid rather then pw != NULL; ok markus@
Diffstat (limited to 'usr.bin/ssh/auth.h')
-rw-r--r--usr.bin/ssh/auth.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/auth.h b/usr.bin/ssh/auth.h
index e5424356199..360e9c3c5d7 100644
--- a/usr.bin/ssh/auth.h
+++ b/usr.bin/ssh/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[]);