give the main context a type instead of making it void *
[project/ustream-ssl.git] / ustream-io-openssl.c
index 9a22ff0a1c4cfbd891b8b377b370cbb1f7f57919..67110550c99926e784ab65cccdfda0eaf0659b27 100644 (file)
@@ -138,7 +138,7 @@ static BIO *ustream_bio_new(struct ustream *s)
        return bio;
 }
 
-__hidden void ustream_set_io(void *ctx, void *ssl, struct ustream *conn)
+__hidden void ustream_set_io(struct ustream_ssl_ctx *ctx, void *ssl, struct ustream *conn)
 {
        BIO *bio = ustream_bio_new(conn);
        SSL_set_bio(ssl, bio, bio);