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

Diff for /src/usr.bin/ssh/Attic/auth-skey.c between version 1.17 and 1.17.2.4

version 1.17, 2002/03/18 17:50:31 version 1.17.2.4, 2002/10/11 14:51:51
Line 38 
Line 38 
         return authctxt;          return authctxt;
 }  }
   
 static int  int
 skey_query(void *ctx, char **name, char **infotxt,  skey_query(void *ctx, char **name, char **infotxt,
     u_int* numprompts, char ***prompts, u_int **echo_on)      u_int* numprompts, char ***prompts, u_int **echo_on)
 {  {
Line 50 
Line 50 
         if (skeychallenge(&skey, authctxt->user, challenge) == -1)          if (skeychallenge(&skey, authctxt->user, challenge) == -1)
                 return -1;                  return -1;
   
         *name       = xstrdup("");          *name  = xstrdup("");
         *infotxt    = xstrdup("");          *infotxt  = xstrdup("");
         *numprompts = 1;          *numprompts = 1;
         *prompts = xmalloc(*numprompts * sizeof(char*));          *prompts = xmalloc(*numprompts * sizeof(char *));
         *echo_on = xmalloc(*numprompts * sizeof(u_int));          *echo_on = xmalloc(*numprompts * sizeof(u_int));
         (*echo_on)[0] = 0;          (*echo_on)[0] = 0;
   
Line 66 
Line 66 
         return 0;          return 0;
 }  }
   
 static int  int
 skey_respond(void *ctx, u_int numresponses, char **responses)  skey_respond(void *ctx, u_int numresponses, char **responses)
 {  {
         Authctxt *authctxt = ctx;          Authctxt *authctxt = ctx;

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.17.2.4