- Added predefined DHM groups from RFC 5114
This commit is contained in:
parent
b60b95fd7f
commit
29b64761fd
6 changed files with 66 additions and 30 deletions
|
@ -676,7 +676,9 @@ static int ssl_write_server_key_exchange( ssl_context *ssl )
|
|||
return( ret );
|
||||
}
|
||||
|
||||
if( ( ret = dhm_make_params( &ssl->handshake->dhm_ctx, 256, ssl->out_msg + 4,
|
||||
if( ( ret = dhm_make_params( &ssl->handshake->dhm_ctx,
|
||||
mpi_size( &ssl->handshake->dhm_ctx.P ),
|
||||
ssl->out_msg + 4,
|
||||
&n, ssl->f_rng, ssl->p_rng ) ) != 0 )
|
||||
{
|
||||
SSL_DEBUG_RET( 1, "dhm_make_params", ret );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue