Add a (D)TLS dumper BIO
[openssl.git] / test / ssltestlib.h
index f05878aaa53ba79a037eb625043b2ede66fa4ab0..f0f32c8301cc17ae4d164468d1e0de9ad65a5000 100644 (file)
@@ -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 */