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

Diff for /src/usr.bin/ssh/ssh-keyscan.c between version 1.28 and 1.29

version 1.28, 2001/08/27 22:02:13 version 1.29, 2001/08/30 22:22:32
Line 60 
Line 60 
 int ncon;  int ncon;
 int nonfatal_fatal = 0;  int nonfatal_fatal = 0;
 jmp_buf kexjmp;  jmp_buf kexjmp;
   Key *kexjmp_key;
   
 /*  /*
  * Keep a connection structure for each file descriptor.  The state   * Keep a connection structure for each file descriptor.  The state
Line 302 
Line 303 
 static int  static int
 hostjump(Key *hostkey)  hostjump(Key *hostkey)
 {  {
         longjmp(kexjmp, (int)hostkey);          kexjmp_key = hostkey;
           longjmp(kexjmp, 1);
 }  }
   
 static int  static int
Line 343 
Line 345 
         xfree(c->c_kex);          xfree(c->c_kex);
         c->c_kex = NULL;          c->c_kex = NULL;
         packet_close();          packet_close();
         if (j < 0)  
                 j = 0;  
   
         return (Key*)(j);          return j < 0? NULL : kexjmp_key;
 }  }
   
 static void  static void

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29