]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fixup windows compile with ssl support.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 8 Nov 2011 14:27:16 +0000 (14:27 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 8 Nov 2011 14:27:16 +0000 (14:27 +0000)
git-svn-id: file:///svn/unbound/trunk@2540 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/netevent.c

index 661648bdb61eb232fac948f2c80e744d971399bb..5e7930d6339eeafdb1948cf87c0130a8135c7569 100644 (file)
@@ -1,5 +1,6 @@
 8 November 2011: Wouter
        - can configure ssl service to one port number, and not on others.
+       - fixup windows compile with ssl support.
 
 1 November 2011: Wouter
        - dns over ssl support as a client, ssl-upstream yes turns it on.
index a6bdbcaff57aca8f553d3d992552d963e23c554a..066c4cc06cb9224d156abf0300e2a93cd0311c1f 100644 (file)
@@ -717,9 +717,9 @@ comm_point_tcp_win_bio_cb(struct comm_point* c, void* thessl)
        SSL* ssl = (SSL*)thessl;
        /* set them both just in case, but usually they are the same BIO */
        BIO_set_callback(SSL_get_rbio(ssl), &win_bio_cb);
-       BIO_set_callback_arg(SSL_get_rbio(ssl), (char*)comm_point_internal(c));
+       BIO_set_callback_arg(SSL_get_rbio(ssl), (char*)&c->ev->ev);
        BIO_set_callback(SSL_get_wbio(ssl), &win_bio_cb);
-       BIO_set_callback_arg(SSL_get_wbio(ssl), (char*)comm_point_internal(c));
+       BIO_set_callback_arg(SSL_get_wbio(ssl), (char*)&c->ev->ev);
 }
 #endif