]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix link of dnstap without openssl.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 23 Jul 2024 12:56:21 +0000 (14:56 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 23 Jul 2024 12:56:21 +0000 (14:56 +0200)
dnstap/dtstream.c
doc/Changelog

index de635f19527557fa0f4226939b437e4418bb3fa7..2d5ab20f0c84caf497cdf922fa0431a2b16dbba1 100644 (file)
@@ -1510,8 +1510,10 @@ void dtio_output_cb(int ATTR_UNUSED(fd), short bits, void* arg)
 #endif
 
        if((bits&UB_EV_READ || dtio->ssl_brief_write)) {
+#ifdef HAVE_SSL
                if(dtio->ssl_brief_write)
                        (void)dtio_disable_brief_write(dtio);
+#endif
                if(dtio->ready_frame_sent && !dtio->accept_frame_received) {
                        if(dtio_read_accept_frame(dtio) <= 0)
                                return;
index 5315a8e4b6e29329d5911963b08ff313a839fc21..bbbbcb5b5d714926cf259455fb97178549ebb94f 100644 (file)
@@ -9,6 +9,7 @@
          attribute.
        - Fix to have empty definition when not supported for weak attribute.
        - Fix uninitialized variable warning in create_tcp_accept_sock.
+       - Fix link of dnstap without openssl.
 
 19 July 2024: Wouter
        - Add dnstap-sample-rate that logs only 1/N messages, for high volume