aboutsummaryrefslogtreecommitdiffstats
path: root/test/README.ssltest.md
diff options
context:
space:
mode:
authorEmilia Kasper <emilia@openssl.org>2016-08-12 14:29:24 +0200
committerEmilia Kasper <emilia@openssl.org>2016-08-18 12:49:32 +0200
commitdd8e5a573272d369cb6dd21592e2b1b1d3941939 (patch)
treed41b73d43ba6469317fcd680b3cb42ca0b74b0c4 /test/README.ssltest.md
parent6dc9974547427261db25758612b6a570083d52e6 (diff)
downloadopenssl-dd8e5a573272d369cb6dd21592e2b1b1d3941939.tar.gz
Test that the peers send at most one fatal alert
Duplicate alerts have happened, see 70c22888c1648fe8652e77107f3c74bf2212de36 Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/README.ssltest.md')
-rw-r--r--test/README.ssltest.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/README.ssltest.md b/test/README.ssltest.md
index 9c27da089b..4e9c0e1fb3 100644
--- a/test/README.ssltest.md
+++ b/test/README.ssltest.md
@@ -82,7 +82,11 @@ handshake.
- InternalError - some other error
* ExpectedClientAlert, ExpectedServerAlert - expected alert. See
- `ssl_test_ctx.c` for known values.
+ `ssl_test_ctx.c` for known values. Note: the expected alert is currently
+ matched against the _last_ received alert (i.e., a fatal alert or a
+ `close_notify`). Warning alert expectations are not yet supported. (A warning
+ alert will not be correctly matched, if followed by a `close_notify` or
+ another alert.)
* ExpectedProtocol - expected negotiated protocol. One of
SSLv3, TLSv1, TLSv1.1, TLSv1.2.