diff options
author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2018-01-21 11:30:36 +0900 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2018-02-02 23:54:14 +0000 |
commit | 1f5878b8e25a785dde330bf485e6ed5a6ae09a1a (patch) | |
tree | 57b6050a9997ebedb1cea76b4bfb1de9b5997923 /test | |
parent | b1a51abb935163cbb0b0089ad9ee8ff174341bbd (diff) |
Make sure that exporting keying material is allowed
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4944)
Diffstat (limited to 'test')
-rw-r--r-- | test/tls13secretstest.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/tls13secretstest.c b/test/tls13secretstest.c index 16542c4481..f08b5d3722 100644 --- a/test/tls13secretstest.c +++ b/test/tls13secretstest.c @@ -212,6 +212,11 @@ void ossl_statem_fatal(SSL *s, int al, int func, int reason, const char *file, { } +int ossl_statem_export_allowed(SSL *s) +{ + return 1; +} + /* End of mocked out code */ static int test_secret(SSL *s, unsigned char *prk, |