[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.43 and 1.44

version 1.43, 2006/11/06 21:25:28 version 1.44, 2006/11/07 13:02:07
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) == NULL)          if (BN_hex2bn(&dh->p, modulus) == 0)
                 fatal("BN_hex2bn p");                  fatal("BN_hex2bn p");
         if (BN_hex2bn(&dh->g, gen) == NULL)          if (BN_hex2bn(&dh->g, gen) == 0)
                 fatal("BN_hex2bn g");                  fatal("BN_hex2bn g");
   
         return (dh);          return (dh);

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