only use a default curve if not already set
[openssl.git] / apps / s_client.c
index f6a28540b51e5af9ca21baf39c1a955a4e029cb2..3fcf7922b40fba4fea6a689ad5c916e9771a31c8 100644 (file)
@@ -1149,7 +1149,7 @@ bad:
        if (vpm)
                SSL_CTX_set1_param(ctx, vpm);
 
        if (vpm)
                SSL_CTX_set1_param(ctx, vpm);
 
-       if (!args_ssl_call(ctx, bio_err, cctx, ssl_args))
+       if (!args_ssl_call(ctx, bio_err, cctx, ssl_args, 1))
                {
                ERR_print_errors(bio_err);
                goto end;
                {
                ERR_print_errors(bio_err);
                goto end;