aboutsummaryrefslogtreecommitdiff
path: root/test/tls13secretstest.c
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2018-02-04 12:20:37 +0900
committerMatt Caswell <matt@openssl.org>2018-02-26 13:35:54 +0000
commitb38ede8043439d99a3c6c174f17b91875cce66ac (patch)
treee4766b5fe52ffc7dbd61513a0c220027f479cee3 /test/tls13secretstest.c
parente454f3add638fda5c2aa32cd368c8929c0b1eb09 (diff)
downloadopenssl-b38ede8043439d99a3c6c174f17b91875cce66ac.zip
openssl-b38ede8043439d99a3c6c174f17b91875cce66ac.tar.gz
openssl-b38ede8043439d99a3c6c174f17b91875cce66ac.tar.bz2
Export keying material using early exporter master secret
This commit adds SSL_export_keying_material_early() which exports keying material using early exporter master secret. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5252)
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 c19bd2c..8b775b8 100644
--- a/test/tls13secretstest.c
+++ b/test/tls13secretstest.c
@@ -217,6 +217,11 @@ int ossl_statem_export_allowed(SSL *s)
return 1;
}
+int ossl_statem_export_early_allowed(SSL *s)
+{
+ return 1;
+}
+
/* End of mocked out code */
static int test_secret(SSL *s, unsigned char *prk,