aboutsummaryrefslogtreecommitdiff
path: root/test/README.ssltest.md
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-09-27 10:18:00 +0100
committerMatt Caswell <matt@openssl.org>2016-09-28 09:15:07 +0100
commit1329b952a675c3c445b73b34bf9f09483fbc759c (patch)
tree921200010a64657d7eff31c328a76740f12031ad /test/README.ssltest.md
parente42c4544c88046a01c53a81aeb9d48685d708cf9 (diff)
downloadopenssl-1329b952a675c3c445b73b34bf9f09483fbc759c.zip
openssl-1329b952a675c3c445b73b34bf9f09483fbc759c.tar.gz
openssl-1329b952a675c3c445b73b34bf9f09483fbc759c.tar.bz2
Update README.ssltest.md
Add update for testing renegotiation. Also change info on CTLOG_FILE environment variable - which always seems to be required. Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/README.ssltest.md')
-rw-r--r--test/README.ssltest.md13
1 files changed, 5 insertions, 8 deletions
diff --git a/test/README.ssltest.md b/test/README.ssltest.md
index 8923578..ca6edf5 100644
--- a/test/README.ssltest.md
+++ b/test/README.ssltest.md
@@ -38,7 +38,7 @@ The test section supports the following options
* HandshakeMode - which handshake flavour to test:
- Simple - plain handshake (default)
- Resume - test resumption
- - (Renegotiate - test renegotiation, not yet implemented)
+ - Renegotiate - test renegotiation
When HandshakeMode is Resume or Renegotiate, the original handshake is expected
to succeed. All configured test expectations are verified against the second
@@ -245,20 +245,17 @@ environment variable to point to the location of the certs. E.g., from the root
OpenSSL directory, do
```
-$ TEST_CERTS_DIR=test/certs test/ssl_test test/ssl-tests/01-simple.conf
+$ CTLOG_FILE=test/ct/log_list.conf TEST_CERTS_DIR=test/certs test/ssl_test \
+ test/ssl-tests/01-simple.conf
```
or for shared builds
```
-$ TEST_CERTS_DIR=test/certs util/shlib_wrap.sh test/ssl_test \
- test/ssl-tests/01-simple.conf
+$ CTLOG_FILE=test/ct/log_list.conf TEST_CERTS_DIR=test/certs \
+ util/shlib_wrap.sh test/ssl_test test/ssl-tests/01-simple.conf
```
-Some tests also need additional environment variables; for example, Certificate
-Transparency tests need a `CTLOG_FILE`. See `test/recipes/80-test_ssl_new.t` for
-details.
-
Note that the test expectations sometimes depend on the Configure settings. For
example, the negotiated protocol depends on the set of available (enabled)
protocols: a build with `enable-ssl3` has different test expectations than a