mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-06 13:48:22 +00:00
Change choice of DHM parameters in ssl_server2 example application
This commit is contained in:
parent
11f740aae4
commit
fffe3bddb0
|
@ -1598,8 +1598,8 @@ int main( int argc, char *argv[] )
|
||||||
ret = ssl_set_dh_param_ctx( &ssl, &dhm );
|
ret = ssl_set_dh_param_ctx( &ssl, &dhm );
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
ret = ssl_set_dh_param( &ssl, POLARSSL_DHM_RFC5114_MODP_2048_P,
|
ret = ssl_set_dh_param( &ssl, POLARSSL_DHM_RFC3526_MODP_2048_P,
|
||||||
POLARSSL_DHM_RFC5114_MODP_2048_G );
|
POLARSSL_DHM_RFC3526_MODP_2048_G );
|
||||||
|
|
||||||
if( ret != 0 )
|
if( ret != 0 )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue