wolfssl: remove now deprecated compatibility code
[project/ustream-ssl.git] / ustream-ssl.c
index 46ac5523d999ab3b53830248f89ccc3d15b537f8..cd69f9e97449435ee407f81b36ae49930cbef5fc 100644 (file)
@@ -199,9 +199,6 @@ static int _ustream_ssl_init(struct ustream_ssl *us, struct ustream *conn, struc
        us->conn = conn;
        us->ctx = ctx;
 
-#if defined(HAVE_WOLFSSL) && defined(NO_WOLFSSL_SSLSETIO_SEND_RECV)
-       ustream_set_io(ctx, NULL, conn);
-#endif
        us->ssl = __ustream_ssl_session_new(us->ctx);
        if (!us->ssl)
                return -ENOMEM;