From: Wouter Wijngaards Date: Mon, 29 Apr 2019 09:25:45 +0000 (+0200) Subject: Update services/outside_network.c X-Git-Tag: release-1.9.2rc1~22^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5a197f96e336bd1049ce2e8f965c7bafb22a446;p=thirdparty%2Funbound.git Update services/outside_network.c Co-Authored-By: wtoorop --- diff --git a/services/outside_network.c b/services/outside_network.c index 054acef66..0323f1b30 100644 --- a/services/outside_network.c +++ b/services/outside_network.c @@ -2289,7 +2289,7 @@ setup_comm_ssl(struct comm_point* cp, struct outside_network* outnet, cp->ssl = outgoing_ssl_fd(outnet->sslctx, fd); if(!cp->ssl) { log_err("cannot create SSL object"); - return NULL; + return 0; } #ifdef USE_WINSOCK comm_point_tcp_win_bio_cb(cp, cp->ssl);