summaryrefslogtreecommitdiffstats
path: root/test/tls13secretstest.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2016-12-30 11:26:39 +0000
committerMatt Caswell <matt@openssl.org>2017-01-10 23:02:50 +0000
commit049043127209a4a1846a1c0fcc56eff601c41be2 (patch)
tree5d6f7950e21b3ecb62d6c20122c4193121355e4a /test/tls13secretstest.c
parentace081c1ed98346328e251884c3bea4b41cb50ad (diff)
Verify that the sig algs extension has been sent for TLSv1.3
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2157)
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 93b6e44257..68ebb9b8a7 100644
--- a/test/tls13secretstest.c
+++ b/test/tls13secretstest.c
@@ -179,6 +179,11 @@ int ssl_cipher_get_evp(const SSL_SESSION *s, const EVP_CIPHER **enc,
return 0;
}
+int tls1_alert_code(int code)
+{
+ return code;
+}
+
/* End of mocked out code */
static int test_secret(SSL *s, unsigned char *prk,