Skip to content

Commit 1fb62cc

Browse files
committed
Removed DH parameter size restriction
1 parent 9006226 commit 1fb62cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ssl/s3_clnt.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3609,7 +3609,7 @@ if (alg_k & (SSL_kRSA
36093609
goto f_err;
36103610
}
36113611
# endif
3612-
3612+
/** Removed check on purpose to allow DH parameters <768
36133613
if (alg_k & (SSL_kDHE | SSL_kDHr | SSL_kDHd)) {
36143614
int dh_size;
36153615
if (alg_k & SSL_kDHE) {
@@ -3628,6 +3628,7 @@ if (alg_k & (SSL_kRSA
36283628
goto f_err;
36293629
}
36303630
}
3631+
**/
36313632
#endif /* !OPENSSL_NO_DH */
36323633

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

0 commit comments

Comments
 (0)