Skip to content

Commit

Permalink
Removed DH parameter size restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterMosmans committed Jul 9, 2015
1 parent 9006226 commit 1fb62cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ssl/s3_clnt.c
Original file line number Diff line number Diff line change
Expand Up @@ -3609,7 +3609,7 @@ if (alg_k & (SSL_kRSA
goto f_err;
}
# endif

/** Removed check on purpose to allow DH parameters <768
if (alg_k & (SSL_kDHE | SSL_kDHr | SSL_kDHd)) {
int dh_size;
if (alg_k & SSL_kDHE) {
Expand All @@ -3628,6 +3628,7 @@ if (alg_k & (SSL_kRSA
goto f_err;
}
}
**/
#endif /* !OPENSSL_NO_DH */

if (SSL_C_IS_EXPORT(s->s3->tmp.new_cipher) &&
Expand Down

0 comments on commit 1fb62cc

Please sign in to comment.