From: Matt Caswell Date: Thu, 25 May 2017 10:26:18 +0000 (+0100) Subject: Fix BoringSSL alert related test failures X-Git-Tag: OpenSSL_1_1_1-pre1~1444 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=10a1ec4833d16b15964bfa969b32d3b33534b760;p=openssl Fix BoringSSL alert related test failures Commit bd990e2535 changed our handling of alerts. Some of the BoringSSl tests were expecting specific errors to be created if bad alerts were sent. Those errors have now changed as a result of that commit, so the BoringSSL test config needs to be updated to match. Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3549) --- diff --git a/test/ossl_shim/ossl_config.json b/test/ossl_shim/ossl_config.json index 50433ed107..26da5f0610 100644 --- a/test/ossl_shim/ossl_config.json +++ b/test/ossl_shim/ossl_config.json @@ -256,7 +256,7 @@ ":UNEXPECTED_RECORD:":"unexpected message", ":TLSV1_ALERT_RECORD_OVERFLOW:":"tlsv1 alert record overflow", ":WRONG_SSL_VERSION:":"no protocols available", - ":BAD_ALERT:":"tlsv1 alert record overflow", + ":BAD_ALERT:":"invalid alert", ":HTTP_REQUEST:":"http request", ":HTTPS_PROXY_REQUEST:":"https proxy request", ":WRONG_CERTIFICATE_TYPE:":"wrong certificate type",