[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.71 and 1.72

version 1.71, 2019/09/06 06:08:11 version 1.72, 2020/10/18 11:32:01
Line 233 
Line 233 
         }          }
   
         if ((tmp = BN_new()) == NULL) {          if ((tmp = BN_new()) == NULL) {
                 error("%s: BN_new failed", __func__);                  error_f("BN_new failed");
                 return 0;                  return 0;
         }          }
         if (!BN_sub(tmp, dh_p, BN_value_one()) ||          if (!BN_sub(tmp, dh_p, BN_value_one()) ||
Line 451 
Line 451 
 DH *  DH *
 dh_new_group_fallback(int max)  dh_new_group_fallback(int max)
 {  {
         debug3("%s: requested max size %d", __func__, max);          debug3_f("requested max size %d", max);
         if (max < 3072) {          if (max < 3072) {
                 debug3("using 2k bit group 14");                  debug3("using 2k bit group 14");
                 return dh_new_group14();                  return dh_new_group14();

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72