[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.65 and 1.66

version 1.65, 2018/06/26 11:23:59 version 1.66, 2018/08/04 00:55:06
Line 275 
Line 275 
         if (DH_generate_key(dh) == 0 ||          if (DH_generate_key(dh) == 0 ||
             !dh_pub_is_valid(dh, dh->pub_key)) {              !dh_pub_is_valid(dh, dh->pub_key)) {
                 BN_clear_free(dh->priv_key);                  BN_clear_free(dh->priv_key);
                   dh->priv_key = NULL;
                 return SSH_ERR_LIBCRYPTO_ERROR;                  return SSH_ERR_LIBCRYPTO_ERROR;
         }          }
         return 0;          return 0;

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.66