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

Diff for /src/usr.bin/ssh/dh.c between version 1.42 and 1.43

version 1.42, 2006/08/03 03:34:42 version 1.43, 2006/11/06 21:25:28
Line 251 
Line 251 
         if ((dh = DH_new()) == NULL)          if ((dh = DH_new()) == NULL)
                 fatal("dh_new_group_asc: DH_new");                  fatal("dh_new_group_asc: DH_new");
   
         if (BN_hex2bn(&dh->p, modulus) == 0)          if (BN_hex2bn(&dh->p, modulus) == NULL)
                 fatal("BN_hex2bn p");                  fatal("BN_hex2bn p");
         if (BN_hex2bn(&dh->g, gen) == 0)          if (BN_hex2bn(&dh->g, gen) == NULL)
                 fatal("BN_hex2bn g");                  fatal("BN_hex2bn g");
   
         return (dh);          return (dh);

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43