From 5c8819f1acc4b08607410cfb447c0d45fc20e962 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Tue, 6 Mar 2018 09:18:53 +0000 Subject: [PATCH] - Fix for windows compile. git-svn-id: file:///svn/unbound/trunk@4563 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 1 + services/outside_network.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/Changelog b/doc/Changelog index 774e56351..4347c6dee 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -3,6 +3,7 @@ although it could be changed at a later time, to stay similar to other implementations. - svn trunk contains 1.7.0, this is the number for the next release. + - Fix for windows compile. 5 March 2018: Wouter - Fix to check define of DSA for when openssl is without deprecated. diff --git a/services/outside_network.c b/services/outside_network.c index cbc0a5adb..92212be02 100644 --- a/services/outside_network.c +++ b/services/outside_network.c @@ -2313,7 +2313,7 @@ outnet_comm_point_for_http(struct outside_network* outnet, return NULL; } #ifdef USE_WINSOCK - comm_point_tcp_win_bio_cb(c, c->ssl); + comm_point_tcp_win_bio_cb(cp, cp->ssl); #endif cp->ssl_shake_state = comm_ssl_shake_write; /* https verification */