Skip to content

Commit

Permalink
- Fix #206: build with --without-ssl fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
wcawijngaards committed Jan 28, 2022
1 parent 367bbf4 commit c5e6a8e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
28 January 2022: Wouter
- Fix #206: build with --without-ssl fails.

27 January 2022: Wouter
- current code branch continues as version 4.4.0, because of added
feature.
Expand Down
1 change: 1 addition & 0 deletions doc/RELNOTES
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ BUG FIXES:
- Fix to change file mode before changing file owner for the
nsd-control unix socket file.
- Fix to document nsd-checkzone -p in the man page for nsd-checkzone.
- Fix #206: build with --without-ssl fails.

4.3.9
================
Expand Down
6 changes: 6 additions & 0 deletions edns.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@
#include "nsd.h"
#include "query.h"

#if !defined(HAVE_SSL) || !defined(HAVE_CRYPTO_MEMCMP)
/* we need fixed time compare, pull it in from tsig.c */
#define CRYPTO_memcmp memcmp_fixedtime
int memcmp_fixedtime(const void *s1, const void *s2, size_t n);
#endif

void
edns_init_data(edns_data_type *data, uint16_t max_length)
{
Expand Down

0 comments on commit c5e6a8e

Please sign in to comment.