提交 1329b952 编写于 作者: M Matt Caswell

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: NRich Salz <rsalz@openssl.org>
上级 e42c4544
...@@ -38,7 +38,7 @@ The test section supports the following options ...@@ -38,7 +38,7 @@ The test section supports the following options
* HandshakeMode - which handshake flavour to test: * HandshakeMode - which handshake flavour to test:
- Simple - plain handshake (default) - Simple - plain handshake (default)
- Resume - test resumption - Resume - test resumption
- (Renegotiate - test renegotiation, not yet implemented) - Renegotiate - test renegotiation
When HandshakeMode is Resume or Renegotiate, the original handshake is expected When HandshakeMode is Resume or Renegotiate, the original handshake is expected
to succeed. All configured test expectations are verified against the second 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 ...@@ -245,20 +245,17 @@ environment variable to point to the location of the certs. E.g., from the root
OpenSSL directory, do 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 or for shared builds
``` ```
$ TEST_CERTS_DIR=test/certs util/shlib_wrap.sh test/ssl_test \ $ CTLOG_FILE=test/ct/log_list.conf TEST_CERTS_DIR=test/certs \
test/ssl-tests/01-simple.conf 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 Note that the test expectations sometimes depend on the Configure settings. For
example, the negotiated protocol depends on the set of available (enabled) example, the negotiated protocol depends on the set of available (enabled)
protocols: a build with `enable-ssl3` has different test expectations than a protocols: a build with `enable-ssl3` has different test expectations than a
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册