From: Matt Caswell Date: Mon, 27 Apr 2020 09:36:35 +0000 (+0100) Subject: Update README.ssltests.md X-Git-Tag: openssl-3.0.0-alpha2~143 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9df3dd6b433b24805271d9db15858bdf503de193;p=oweals%2Fopenssl.git 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) --- 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