]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Report XoT failure as XoT failure, not https
authorWillem Toorop <willem@nlnetlabs.nl>
Wed, 3 Apr 2019 10:41:14 +0000 (12:41 +0200)
committerWillem Toorop <willem@nlnetlabs.nl>
Wed, 3 Apr 2019 10:41:14 +0000 (12:41 +0200)
services/outside_network.c

index e687e405e536e972287ef3161931f2c336f7d71d..53b0e7839d450c81cf6be2cf947daee5456f98d0 100644 (file)
@@ -2310,7 +2310,7 @@ outnet_comm_point_for_tcp(struct outside_network* outnet,
        if(ssl) {
                cp->ssl = outgoing_ssl_fd(outnet->sslctx, fd);
                if(!cp->ssl) {
-                       log_err("cannot setup https");
+                       log_err("cannot setup XoT");
                        comm_point_delete(cp);
                        return NULL;
                }
@@ -2318,7 +2318,7 @@ outnet_comm_point_for_tcp(struct outside_network* outnet,
                comm_point_tcp_win_bio_cb(cp, cp->ssl);
 #endif
                cp->ssl_shake_state = comm_ssl_shake_write;
-               /* https verification */
+               /* XoT verification */
 #ifdef HAVE_SSL_SET1_HOST
                if((SSL_CTX_get_verify_mode(outnet->sslctx)&SSL_VERIFY_PEER)) {
                        /* because we set SSL_VERIFY_PEER, in netevent in