summaryrefslogtreecommitdiff
path: root/ustream-openssl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ustream-openssl.h')
-rw-r--r--ustream-openssl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ustream-openssl.h b/ustream-openssl.h
index 9663d21..90acc86 100644
--- a/ustream-openssl.h
+++ b/ustream-openssl.h
@@ -31,6 +31,11 @@
void __ustream_ssl_session_free(void *ssl);
+struct bio_ctx {
+ BIO_METHOD *meth;
+ struct ustream *stream;
+};
+
static inline void *__ustream_ssl_session_new(void *ctx)
{
return SSL_new(ctx);