From 69538b0c680486cc60423b48f419583a9e5b4650 Mon Sep 17 00:00:00 2001 From: mouring 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 | 3 +++ auth-skey.c | 6 +++--- auth2.c | 3 ++- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index c07ff53d..6857a03a 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. diff --git a/auth-skey.c b/auth-skey.c index e897d187..b6455044 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 20584caa..6bcc5652 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; -- 2.45.2