aboutsummaryrefslogtreecommitdiff
path: root/test/tls13secretstest.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2022-05-06 15:10:00 +0100
committerMatt Caswell <matt@openssl.org>2022-08-18 16:38:12 +0100
commit79eebb08434e31aede316d934b53e4096c131b8f (patch)
tree7854e94a2dc000bf01733f3d9a5cc37b0c08d0cd /test/tls13secretstest.c
parent2b891e30ce1839a27f6a47f4c668d5810a15f847 (diff)
downloadopenssl-79eebb08434e31aede316d934b53e4096c131b8f.zip
openssl-79eebb08434e31aede316d934b53e4096c131b8f.tar.gz
openssl-79eebb08434e31aede316d934b53e4096c131b8f.tar.bz2
Ensure various SSL options are passed down to the record layer
Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18132)
Diffstat (limited to 'test/tls13secretstest.c')
-rw-r--r--test/tls13secretstest.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/tls13secretstest.c b/test/tls13secretstest.c
index 6a24792..f8d1477 100644
--- a/test/tls13secretstest.c
+++ b/test/tls13secretstest.c
@@ -225,6 +225,18 @@ void ssl_evp_md_free(const EVP_MD *md)
{
}
+int ssl_set_new_record_layer(SSL_CONNECTION *s, const OSSL_RECORD_METHOD *meth,
+ int version, int direction, int level,
+ unsigned char *key, size_t keylen,
+ unsigned char *iv, size_t ivlen,
+ unsigned char *mackey, size_t mackeylen,
+ const EVP_CIPHER *ciph, size_t taglen,
+ int mactype, const EVP_MD *md,
+ const SSL_COMP *comp)
+{
+ return 0;
+}
+
/* End of mocked out code */
static int test_secret(SSL_CONNECTION *s, unsigned char *prk,