From 7d258d4f6329f2f4ffadce7bcebcd53022f14f01 Mon Sep 17 00:00:00 2001 From: matthew Date: Sat, 7 Aug 2010 19:46:58 +0000 Subject: [PATCH] Link against libkern's timingsafe_bcmp.c, so key_wrap regress tests can compile again. ok phessler@, "Get it in right away" deraadt@ --- regress/sys/crypto/key_wrap/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/regress/sys/crypto/key_wrap/Makefile b/regress/sys/crypto/key_wrap/Makefile index e63d0ff0139..0efa644ad67 100644 --- a/regress/sys/crypto/key_wrap/Makefile +++ b/regress/sys/crypto/key_wrap/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.2 2008/09/02 12:55:44 djm Exp $ +# $OpenBSD: Makefile,v 1.3 2010/08/07 19:46:58 matthew Exp $ DIR=${.CURDIR}/../../../../sys PROG= key_wrap_test -SRCS+= rijndael.c key_wrap.c key_wrap_test.c +SRCS+= rijndael.c key_wrap.c key_wrap_test.c timingsafe_bcmp.c CDIAGFLAGS= -Wall CDIAGFLAGS+= -Werror CDIAGFLAGS+= -Wpointer-arith @@ -19,7 +19,7 @@ REGRESS_TARGETS= run-regress-${PROG} CFLAGS+= -I${DIR} -.PATH: ${DIR}/crypto/ +.PATH: ${DIR}/crypto/ ${DIR}/lib/libkern/ run-regress-${PROG}: ${PROG} ./${PROG} | diff - ${.CURDIR}/${PROG}.txt -- 2.20.1