File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -509,14 +509,18 @@ static int test_handshake(int idx)
509
509
goto err ;
510
510
511
511
if (!SSL_CTX_config (server_ctx , "server" )
512
+ || !SSL_CTX_set_dh_auto (server_ctx , 1 )
512
513
|| !SSL_CTX_config (client_ctx , "client" )) {
513
514
goto err ;
514
515
}
515
516
516
- if (server2_ctx != NULL && !SSL_CTX_config (server2_ctx , "server2" ))
517
+ if (server2_ctx != NULL
518
+ && (!SSL_CTX_config (server2_ctx , "server2" )
519
+ || !SSL_CTX_set_dh_auto (server2_ctx , 1 )))
517
520
goto err ;
518
521
if (resume_server_ctx != NULL
519
- && !SSL_CTX_config (resume_server_ctx , "resume-server" ))
522
+ && (!SSL_CTX_config (resume_server_ctx , "resume-server" )
523
+ || !SSL_CTX_set_dh_auto (resume_server_ctx , 1 )))
520
524
goto err ;
521
525
if (resume_client_ctx != NULL
522
526
&& !SSL_CTX_config (resume_client_ctx , "resume-client" ))
You can’t perform that action at this time.
0 commit comments