Update services/outside_network.c

Co-Authored-By: wtoorop <willem@nlnetlabs.nl>
This commit is contained in:
Wouter Wijngaards 2019-04-29 11:25:45 +02:00 committed by GitHub
parent 196654efec
commit f5a197f96e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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);