diff --git a/vlib/net/openssl/c.v b/vlib/net/openssl/c.v index 100e3d3c11..546e3d32ac 100644 --- a/vlib/net/openssl/c.v +++ b/vlib/net/openssl/c.v @@ -35,7 +35,11 @@ $if $pkgconfig('openssl') { #include [typedef] -struct C.SSL { +pub struct C.SSL { +} + +[typedef] +pub struct C.SSL_CTX { } fn C.BIO_new_ssl_connect(ctx &C.SSL_CTX) &C.BIO