=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/Attic/auth-skey.c,v retrieving revision 1.17 retrieving revision 1.17.2.4 diff -u -r1.17 -r1.17.2.4 --- src/usr.bin/ssh/Attic/auth-skey.c 2002/03/18 17:50:31 1.17 +++ src/usr.bin/ssh/Attic/auth-skey.c 2002/10/11 14:51:51 1.17.2.4 @@ -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.17.2.4 2002/10/11 14:51:51 miod Exp $"); #ifdef SKEY @@ -38,7 +38,7 @@ return authctxt; } -static int +int skey_query(void *ctx, char **name, char **infotxt, u_int* numprompts, char ***prompts, u_int **echo_on) { @@ -50,10 +50,10 @@ if (skeychallenge(&skey, authctxt->user, challenge) == -1) return -1; - *name = xstrdup(""); - *infotxt = xstrdup(""); + *name = xstrdup(""); + *infotxt = xstrdup(""); *numprompts = 1; - *prompts = xmalloc(*numprompts * sizeof(char*)); + *prompts = xmalloc(*numprompts * sizeof(char *)); *echo_on = xmalloc(*numprompts * sizeof(u_int)); (*echo_on)[0] = 0; @@ -66,7 +66,7 @@ return 0; } -static int +int skey_respond(void *ctx, u_int numresponses, char **responses) { Authctxt *authctxt = ctx;