aboutsummaryrefslogtreecommitdiff
path: root/test/tls13secretstest.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2017-11-21 17:18:43 +0000
committerMatt Caswell <matt@openssl.org>2017-12-04 13:31:48 +0000
commitf63a17d66dec01c123630682e0b20450b34c086a (patch)
tree6f12a8572a3f21bca6bec20941fa3793369230b0 /test/tls13secretstest.c
parent4752c5deb20cae92a7146c4b89ad41045a041970 (diff)
downloadopenssl-f63a17d66dec01c123630682e0b20450b34c086a.zip
openssl-f63a17d66dec01c123630682e0b20450b34c086a.tar.gz
openssl-f63a17d66dec01c123630682e0b20450b34c086a.tar.bz2
Convert the state machine code to use SSLfatal()
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/4778)
Diffstat (limited to 'test/tls13secretstest.c')
-rw-r--r--test/tls13secretstest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/tls13secretstest.c b/test/tls13secretstest.c
index 1c47e41..16542c4 100644
--- a/test/tls13secretstest.c
+++ b/test/tls13secretstest.c
@@ -207,6 +207,11 @@ const EVP_MD *ssl_md(int idx)
return EVP_sha256();
}
+void ossl_statem_fatal(SSL *s, int al, int func, int reason, const char *file,
+ int line)
+{
+}
+
/* End of mocked out code */
static int test_secret(SSL *s, unsigned char *prk,