=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/auth-bsdauth.c,v retrieving revision 1.3 retrieving revision 1.3.2.2 diff -u -r1.3 -r1.3.2.2 --- src/usr.bin/ssh/auth-bsdauth.c 2002/03/18 17:50:31 1.3 +++ src/usr.bin/ssh/auth-bsdauth.c 2002/10/11 14:51:51 1.3.2.2 @@ -22,7 +22,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: auth-bsdauth.c,v 1.3 2002/03/18 17:50:31 provos Exp $"); +RCSID("$OpenBSD: auth-bsdauth.c,v 1.3.2.2 2002/10/11 14:51:51 miod Exp $"); #ifdef BSD_AUTH #include "xmalloc.h" @@ -57,7 +57,7 @@ debug3("bsdauth_query: style %s", authctxt->style ? authctxt->style : ""); authctxt->as = auth_userchallenge(authctxt->user, - authctxt->style, "auth-ssh", &challenge); + authctxt->style, "auth-ssh", &challenge); if (authctxt->as == NULL) challenge = NULL; debug2("bsdauth_query: <%s>", challenge ? challenge : "empty"); @@ -66,10 +66,10 @@ if (challenge == NULL) 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; (*prompts)[0] = xstrdup(challenge);