From 9df3dd6b433b24805271d9db15858bdf503de193 Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 27 Apr 2020 10:36:35 +0100 Subject: [PATCH] Update README.ssltests.md The ssltest docs were out of date because gneerate_ssl_tests now needs a provider to be specified on the command line. Fixes #11639 Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/11659) --- test/README.ssltest.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/README.ssltest.md b/test/README.ssltest.md index 6fc7301500..42a25189a2 100644 --- a/test/README.ssltest.md +++ b/test/README.ssltest.md @@ -227,16 +227,17 @@ client => { ``` $ ./config $ cd test -$ TOP=.. perl -I ../util/perl/ generate_ssl_tests.pl ssl-tests/my.cnf.in \ +$ TOP=.. perl -I ../util/perl/ generate_ssl_tests.pl ssl-tests/my.cnf.in default \ > ssl-tests/my.cnf ``` -where `my.cnf.in` is your test input file. +where `my.cnf.in` is your test input file and `default` is the provider to use. +For all the pre-generated test files you should use the default provider. For example, to generate the test cases in `ssl-tests/01-simple.cnf.in`, do ``` -$ TOP=.. perl -I ../util/perl/ generate_ssl_tests.pl ssl-tests/01-simple.cnf.in > ssl-tests/01-simple.cnf +$ TOP=.. perl -I ../util/perl/ generate_ssl_tests.pl ssl-tests/01-simple.cnf.in default > ssl-tests/01-simple.cnf ``` Alternatively (hackish but simple), you can comment out