From 6fec6006f27be8e98c7ad8284d993288adcf9fe0 Mon Sep 17 00:00:00 2001 From: christos Date: Mon, 5 Feb 2018 11:57:28 +0000 Subject: [PATCH] pretend we have openssl-1.1 --- crypto/external/bsd/openssh/Makefile.inc | 3 ++- lib/libradius/Makefile | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/crypto/external/bsd/openssh/Makefile.inc b/crypto/external/bsd/openssh/Makefile.inc index 4bc5b4d45567..56e212cc13cb 100644 --- a/crypto/external/bsd/openssh/Makefile.inc +++ b/crypto/external/bsd/openssh/Makefile.inc @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.10 2017/11/06 10:26:13 snj Exp $ +# $NetBSD: Makefile.inc,v 1.11 2018/02/05 11:57:28 christos Exp $ WARNS?= 4 @@ -15,6 +15,7 @@ CPPFLAGS+=-DHAVE_DLOPEN CPPFLAGS+=-DHAVE_HEADER_AD CPPFLAGS+=-DHAVE_LOGIN_CAP CPPFLAGS+=-DHAVE_STDLIB_H +CPPFLAGS+=-DOPENSSL_VERSION_NUMBER=0x10100000L CPPFLAGS+=-DWITH_OPENSSL -DENABLE_PKCS11 -D_OPENBSD_SOURCE .if !defined(NOPIC) diff --git a/lib/libradius/Makefile b/lib/libradius/Makefile index 75cf81407838..66003c243d31 100644 --- a/lib/libradius/Makefile +++ b/lib/libradius/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2018/02/04 03:19:53 christos Exp $ +# $NetBSD: Makefile,v 1.14 2018/02/05 11:58:13 christos Exp $ USE_FORT?= yes # network protocol library @@ -10,6 +10,7 @@ LINTFLAGS+= -Sw LIB= radius CPPFLAGS+= -I. +CPPFLAGS+= -DOPENSSL_VERSION_NUMBER=0x10100000L CPPFLAGS+= -DWITH_SSL LIBDPLIBS+=crypto ${.CURDIR}/../../crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libcrypto