]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Update services/outside_network.c
authorWouter Wijngaards <wcawijngaards@users.noreply.github.com>
Mon, 29 Apr 2019 09:25:45 +0000 (11:25 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Apr 2019 09:25:45 +0000 (11:25 +0200)
Co-Authored-By: wtoorop <willem@nlnetlabs.nl>
services/outside_network.c

index 054acef663f74a836f7857ef03812358d8dc3b7f..0323f1b30c93e9de016cabefba02e611118ef974 100644 (file)
@@ -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);