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

Diff for /src/usr.bin/ssh/monitor.c between version 1.11.2.2 and 1.11.2.3

version 1.11.2.2, 2002/06/22 07:23:17 version 1.11.2.3, 2002/06/26 18:22:35
Line 944 
Line 944 
         xfree(signature);          xfree(signature);
         xfree(data);          xfree(data);
   
           auth_method = key_blobtype == MM_USERKEY ? "publickey" : "hostbased";
   
         monitor_reset_key_state();          monitor_reset_key_state();
   
         buffer_clear(m);          buffer_clear(m);
         buffer_put_int(m, verified);          buffer_put_int(m, verified);
         mm_request_send(socket, MONITOR_ANS_KEYVERIFY, m);          mm_request_send(socket, MONITOR_ANS_KEYVERIFY, m);
   
         auth_method = key_blobtype == MM_USERKEY ? "publickey" : "hostbased";  
   
         return (verified);          return (verified);
 }  }
   
Line 1418 
Line 1418 
 void *  void *
 mm_zalloc(struct mm_master *mm, u_int ncount, u_int size)  mm_zalloc(struct mm_master *mm, u_int ncount, u_int size)
 {  {
           int len = size * ncount;
         void *address;          void *address;
   
         address = mm_malloc(mm, size * ncount);          if (len <= 0)
                   fatal("%s: mm_zalloc(%u, %u)", __func__, ncount, size);
   
           address = mm_malloc(mm, len);
   
         return (address);          return (address);
 }  }

Legend:
Removed from v.1.11.2.2  
changed lines
  Added in v.1.11.2.3