From 58d4dafeb1159cebd03a2b32cb87a1970606a441 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Wed, 15 May 2002 16:14:36 +0000 Subject: [PATCH] - itojun@cvs.openbsd.org 2002/05/13 02:37:39 [auth-skey.c auth2.c] less warnings. skey_{respond,query} are public (in auth.h) --- ChangeLog | 5 ++++- auth-skey.c | 6 +++--- auth2.c | 3 ++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 211e248f2..3247f9589 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,9 @@ - stevesk@cvs.openbsd.org 2002/05/11 20:24:48 [ssh.h] typo in comment + - itojun@cvs.openbsd.org 2002/05/13 02:37:39 + [auth-skey.c auth2.c] + less warnings. skey_{respond,query} are public (in auth.h) 20020514 - (stevesk) [README.privsep] PAM+privsep works with Solaris 8. @@ -614,4 +617,4 @@ - (stevesk) entropy.c: typo in debug message - (djm) ssh-keygen -i needs seeded RNG; report from markus@ -$Id: ChangeLog,v 1.2124 2002/05/15 16:09:57 mouring Exp $ +$Id: ChangeLog,v 1.2125 2002/05/15 16:14:36 mouring Exp $ diff --git a/auth-skey.c b/auth-skey.c index e897d1875..b64550443 100644 --- a/auth-skey.c +++ b/auth-skey.c @@ -22,7 +22,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: auth-skey.c,v 1.17 2002/03/18 17:50:31 provos Exp $"); +RCSID("$OpenBSD: auth-skey.c,v 1.18 2002/05/13 02:37:39 itojun Exp $"); #ifdef SKEY @@ -38,7 +38,7 @@ skey_init_ctx(Authctxt *authctxt) return authctxt; } -static int +int skey_query(void *ctx, char **name, char **infotxt, u_int* numprompts, char ***prompts, u_int **echo_on) { @@ -66,7 +66,7 @@ skey_query(void *ctx, char **name, char **infotxt, return 0; } -static int +int skey_respond(void *ctx, u_int numresponses, char **responses) { Authctxt *authctxt = ctx; diff --git a/auth2.c b/auth2.c index 20584caa9..6bcc56527 100644 --- a/auth2.c +++ b/auth2.c @@ -23,7 +23,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: auth2.c,v 1.90 2002/05/12 23:53:45 djm Exp $"); +RCSID("$OpenBSD: auth2.c,v 1.91 2002/05/13 02:37:39 itojun Exp $"); #include @@ -51,6 +51,7 @@ RCSID("$OpenBSD: auth2.c,v 1.90 2002/05/12 23:53:45 djm Exp $"); #include "canohost.h" #include "match.h" #include "monitor_wrap.h" +#include "atomicio.h" /* import */ extern ServerOptions options;