diff --git a/doc/Changelog b/doc/Changelog index 661648bdb..5e7930d63 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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. diff --git a/util/netevent.c b/util/netevent.c index a6bdbcaff..066c4cc06 100644 --- a/util/netevent.c +++ b/util/netevent.c @@ -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