summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMatthew Dempsky <matthew@cvs.openbsd.org>2010-08-07 19:46:59 +0000
committerMatthew Dempsky <matthew@cvs.openbsd.org>2010-08-07 19:46:59 +0000
commite5971a4d4773efa7bc3dfc73ec239d36e5831e5d (patch)
tree8831bdf259bc367897516ec6300f1e71f010477f /regress
parent212e656c6aae38c2481cfc246355432ae1c59d4d (diff)
Link against libkern's timingsafe_bcmp.c, so key_wrap regress tests
can compile again. ok phessler@, "Get it in right away" deraadt@
Diffstat (limited to 'regress')
-rw-r--r--regress/sys/crypto/key_wrap/Makefile6
1 files 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