From 671e11552c32f472a26b5bf2cb9b1f85dd42e5db Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Tue, 23 Jul 2024 14:56:21 +0200 Subject: [PATCH] - Fix link of dnstap without openssl. --- dnstap/dtstream.c | 2 ++ doc/Changelog | 1 + 2 files changed, 3 insertions(+) diff --git a/dnstap/dtstream.c b/dnstap/dtstream.c index de635f195..2d5ab20f0 100644 --- a/dnstap/dtstream.c +++ b/dnstap/dtstream.c @@ -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; diff --git a/doc/Changelog b/doc/Changelog index 5315a8e4b..bbbbcb5b5 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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