nsd: Update to 4.2.1

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 6ba95fdac4)
This commit is contained in:
Rosen Penev
2019-08-04 09:19:17 -07:00
parent 048937c407
commit 3c59551d85
3 changed files with 41 additions and 19 deletions
+10
View File
@@ -0,0 +1,10 @@
--- a/nsd-control.c
+++ b/nsd-control.c
@@ -42,6 +42,7 @@
*/
#include "config.h"
+#include <stdio.h>
#ifdef HAVE_SSL
#include <sys/types.h>
+13
View File
@@ -0,0 +1,13 @@
--- a/tsig.c
+++ b/tsig.c
@@ -19,6 +19,10 @@
#include "query.h"
#include "rbtree.h"
+#ifndef HAVE_SSL
+#define CRYPTO_memcmp memcmp
+#endif
+
static region_type *tsig_region;
struct tsig_key_table