From 4e5c7a92843baa574477161a6a1b2df108ba3cde Mon Sep 17 00:00:00 2001 From: miod <> Date: Tue, 22 Apr 2014 21:27:15 +0000 Subject: When compiling with AES_WRAP_TEST, make main() return a meaningful value instead of garbage, and add this to the libcrypto regress. Note these tests are incomplete, as they always use the default IV. --- src/regress/lib/libcrypto/Makefile | 3 ++- src/regress/lib/libcrypto/aeswrap/Makefile | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 src/regress/lib/libcrypto/aeswrap/Makefile (limited to 'src/regress/lib') diff --git a/src/regress/lib/libcrypto/Makefile b/src/regress/lib/libcrypto/Makefile index 46e867b81d..df9e45f96a 100644 --- a/src/regress/lib/libcrypto/Makefile +++ b/src/regress/lib/libcrypto/Makefile @@ -1,6 +1,7 @@ -# $OpenBSD: Makefile,v 1.3 2014/04/17 18:33:21 miod Exp $ +# $OpenBSD: Makefile,v 1.4 2014/04/22 21:27:13 miod Exp $ SUBDIR= \ + aeswrap \ bf \ bn \ cast \ diff --git a/src/regress/lib/libcrypto/aeswrap/Makefile b/src/regress/lib/libcrypto/aeswrap/Makefile new file mode 100644 index 0000000000..63770a5c7d --- /dev/null +++ b/src/regress/lib/libcrypto/aeswrap/Makefile @@ -0,0 +1,12 @@ +# $OpenBSD: Makefile,v 1.1 2014/04/22 21:27:15 miod Exp $ + +PROG= aes_wrap +CRYPTO= ${.CURDIR}/../../../../lib/libssl/src/crypto +CFLAGS+= -DAES_WRAP_TEST +CFLAGS+= -I${CRYPTO} -I${CRYPTO}/aes +.PATH: ${CRYPTO}/aes + +LDADD= -lcrypto +DPADD= ${LIBCRYPTO} + +.include -- cgit v1.2.3-55-g6feb