commit | 9ea1b23cc47d6be317f951909ec87f9ac9f9bacc | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Mon Jun 29 15:27:52 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Mon Jun 29 18:52:57 2015 +0200 |
tree | 2c5dc0552d9a7189cfe0dff5e3ac6c0640ca8f22 | |
parent | 6c3ccf5fd030e4c48c103e9175a13752bc64cb01 [diff] [blame] |
Up min size of DHM params to 1024 bits on client
diff --git a/library/ssl_cli.c b/library/ssl_cli.c index caeb6f3..0c62c34 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c
@@ -1445,7 +1445,7 @@ return( ret ); } - if( ssl->handshake->dhm_ctx.len < 64 || + if( ssl->handshake->dhm_ctx.len < SSL_MIN_DHM_BYTES || ssl->handshake->dhm_ctx.len > 512 ) { SSL_DEBUG_MSG( 1, ( "bad server key exchange message (DHM length)" ) );