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

Diff for /src/usr.bin/ssh/Attic/bufaux.c between version 1.33 and 1.35

version 1.33, 2004/10/29 23:56:17 version 1.35, 2005/03/10 22:01:05
Line 151 
Line 151 
                 return (-1);                  return (-1);
         }          }
         buf = xmalloc(bytes);          buf = xmalloc(bytes);
         buf[0] = '\0';          buf[0] = 0x00;
         /* Get the value of in binary */          /* Get the value of in binary */
         oi = BN_bn2bin(value, buf+1);          oi = BN_bn2bin(value, buf+1);
         if (oi != bytes-1) {          if (oi != bytes-1) {
Line 179 
Line 179 
 {  {
         u_int len;          u_int len;
         u_char *bin;          u_char *bin;
   
         if ((bin = buffer_get_string_ret(buffer, &len)) == NULL) {          if ((bin = buffer_get_string_ret(buffer, &len)) == NULL) {
                 error("buffer_get_bignum2_ret: invalid bignum");                  error("buffer_get_bignum2_ret: invalid bignum");
                 return (-1);                  return (-1);

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.35