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

Diff for /src/usr.bin/ssh/auth2-chall.c between version 1.21.2.2 and 1.22

version 1.21.2.2, 2005/09/02 03:44:59 version 1.22, 2005/01/19 13:11:47
Line 137 
Line 137 
                 kbdintctxt->devices = t[len] ? xstrdup(t+len+1) : NULL;                  kbdintctxt->devices = t[len] ? xstrdup(t+len+1) : NULL;
                 xfree(t);                  xfree(t);
                 debug2("kbdint_next_device: devices %s", kbdintctxt->devices ?                  debug2("kbdint_next_device: devices %s", kbdintctxt->devices ?
                     kbdintctxt->devices : "<empty>");                     kbdintctxt->devices : "<empty>");
         } while (kbdintctxt->devices && !kbdintctxt->device);          } while (kbdintctxt->devices && !kbdintctxt->device);
   
         return kbdintctxt->device ? 1 : 0;          return kbdintctxt->device ? 1 : 0;
Line 209 
Line 209 
 {  {
         KbdintAuthctxt *kbdintctxt;          KbdintAuthctxt *kbdintctxt;
         char *name, *instr, **prompts;          char *name, *instr, **prompts;
         u_int i, *echo_on;          int i;
           u_int *echo_on;
   
         kbdintctxt = authctxt->kbdintctxt;          kbdintctxt = authctxt->kbdintctxt;
         if (kbdintctxt->device->query(kbdintctxt->ctxt,          if (kbdintctxt->device->query(kbdintctxt->ctxt,
Line 242 
Line 243 
 {  {
         Authctxt *authctxt = ctxt;          Authctxt *authctxt = ctxt;
         KbdintAuthctxt *kbdintctxt;          KbdintAuthctxt *kbdintctxt;
         int authenticated = 0, res, len;          int i, authenticated = 0, res, len;
         u_int i, nresp;          u_int nresp;
         char **response = NULL, *method;          char **response = NULL, *method;
   
         if (authctxt == NULL)          if (authctxt == NULL)

Legend:
Removed from v.1.21.2.2  
changed lines
  Added in v.1.22