diff options
author | Matt Caswell <matt@openssl.org> | 2016-07-04 14:51:56 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-08-19 13:52:40 +0100 |
commit | d9a2e90bcede62cce36a845a677f99a22c419a9c (patch) | |
tree | cb504edf240084aaf8bddbbcb094c601965f9cfd /test/ssltestlib.h | |
parent | 15269e565427e9025c733c2a8b3d4b6d6c5a3bd3 (diff) | |
download | openssl-d9a2e90bcede62cce36a845a677f99a22c419a9c.tar.gz |
Add a (D)TLS dumper BIO
Dump out the records passed over the BIO. Only works for DTLS at the
moment but could easily be extended to TLS.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'test/ssltestlib.h')
-rw-r--r-- | test/ssltestlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ssltestlib.h b/test/ssltestlib.h index f05878aaa5..f0f32c8301 100644 --- a/test/ssltestlib.h +++ b/test/ssltestlib.h @@ -18,4 +18,8 @@ int create_ssl_ctx_pair(const SSL_METHOD *sm, const SSL_METHOD *cm, int create_ssl_connection(SSL_CTX *serverctx, SSL_CTX *clientctx, SSL **sssl, SSL **cssl, BIO *s_to_c_fbio, BIO *c_to_s_fbio); +/* Note: Not thread safe! */ +const BIO_METHOD *bio_f_tls_dump_filter(void); +void bio_f_tls_dump_filter_free(void); + #endif /* HEADER_SSLTESTLIB_H */ |