From 2c4c2d277ad781a9dfbec8770fc62829cd0da2cd Mon Sep 17 00:00:00 2001 From: ryoon Date: Wed, 14 Feb 2018 12:47:43 +0000 Subject: [PATCH] Fix broken dig and host commands OpenSSL 1.1 does not have GOST support, so restrict GOST support to 1.0. --- external/bsd/bind/Makefile.inc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/external/bsd/bind/Makefile.inc b/external/bsd/bind/Makefile.inc index 326d0cd0b86c..3f6da18b31a5 100644 --- a/external/bsd/bind/Makefile.inc +++ b/external/bsd/bind/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.28 2018/02/04 03:19:52 christos Exp $ +# $NetBSD: Makefile.inc,v 1.29 2018/02/14 12:47:43 ryoon Exp $ .if !defined(BIND9_MAKEFILE_INC) BIND9_MAKEFILE_INC=yes @@ -87,7 +87,10 @@ LIBDPLIBS+= pthread ${NETBSDSRCDIR}/lib/libpthread .endif .if ${NAMED_USE_OPENSSL} == "yes" -CPPFLAGS+=-DOPENSSL -DUSE_ISC_SPNEGO -DHAVE_OPENSSL_GOST +CPPFLAGS+=-DOPENSSL -DUSE_ISC_SPNEGO +.if ${HAVE_OPENSSL} == 10 +CPPFLAGS+=-DHAVE_OPENSSL_GOST +.endif .if ${MKKERBEROS} != "no" CPPFLAGS+=-DGSSAPI .endif