diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-06-25 20:26:38 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-06-25 20:26:38 +0000 |
commit | eb408943edf1242fe12bd35fce54c8c5401cd8f5 (patch) | |
tree | 31f6e8b6417f4ebfdb542b90b92d8b248cf5a9ba | |
parent | 37ffca3daf30ca86f733efff78ab8a92175bb774 (diff) |
prototype cleanup; ok markus@
-rw-r--r-- | usr.bin/ssh/auth2.c | 6 | ||||
-rw-r--r-- | usr.bin/ssh/sshconnect2.c | 7 |
2 files changed, 7 insertions, 6 deletions
diff --git a/usr.bin/ssh/auth2.c b/usr.bin/ssh/auth2.c index c9053c73a88..6e7b8d133ab 100644 --- a/usr.bin/ssh/auth2.c +++ b/usr.bin/ssh/auth2.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth2.c,v 1.66 2001/06/23 15:12:17 itojun Exp $"); +RCSID("$OpenBSD: auth2.c,v 1.67 2001/06/25 20:26:37 stevesk Exp $"); #include <openssl/evp.h> @@ -76,7 +76,7 @@ static void protocol_error(int, int, void *); /* helper */ static Authmethod *authmethod_lookup(const char *); -char *authmethods_get(void); +static char *authmethods_get(void); static int user_key_allowed(struct passwd *, Key *); static int hostbased_key_allowed(struct passwd *, const char *, char *, Key *); @@ -547,7 +547,7 @@ auth_get_user(void) #define DELIM "," -char * +static char * authmethods_get(void) { Authmethod *method = NULL; diff --git a/usr.bin/ssh/sshconnect2.c b/usr.bin/ssh/sshconnect2.c index 4ce8d4d85a0..258ee483463 100644 --- a/usr.bin/ssh/sshconnect2.c +++ b/usr.bin/ssh/sshconnect2.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshconnect2.c,v 1.78 2001/06/24 05:47:13 markus Exp $"); +RCSID("$OpenBSD: sshconnect2.c,v 1.79 2001/06/25 20:26:37 stevesk Exp $"); #include <openssl/bn.h> #include <openssl/md5.h> @@ -461,7 +461,7 @@ userauth_passwd(Authctxt *authctxt) return 1; } -void +static void clear_auth_state(Authctxt *authctxt) { /* XXX clear authentication state */ @@ -976,7 +976,8 @@ authmethod_get(char *authlist) #define DELIM "," -char * + +static char * authmethods_get(void) { Authmethod *method = NULL; |