[BACK]Return to auth-bsdauth.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/auth-bsdauth.c between version 1.7 and 1.8

version 1.7, 2006/03/19 18:51:18 version 1.8, 2006/03/25 00:05:40
Line 68 
Line 68 
         *name = xstrdup("");          *name = xstrdup("");
         *infotxt = xstrdup("");          *infotxt = xstrdup("");
         *numprompts = 1;          *numprompts = 1;
         *prompts = xmalloc(*numprompts * sizeof(char *));          *prompts = xcalloc(*numprompts, sizeof(char *));
         *echo_on = xmalloc(*numprompts * sizeof(u_int));          *echo_on = xcalloc(*numprompts, sizeof(u_int));
         (*echo_on)[0] = 0;  
         (*prompts)[0] = xstrdup(challenge);          (*prompts)[0] = xstrdup(challenge);
   
         return 0;          return 0;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8