summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/aeswrap
diff options
context:
space:
mode:
authormiod <>2014-04-22 21:27:15 +0000
committermiod <>2014-04-22 21:27:15 +0000
commit71b791a2ff679463d6ef915490232cfa037f02b2 (patch)
tree7f01145a77987f3aea2deaa91990a805eb4bb794 /src/regress/lib/libcrypto/aeswrap
parent996a57299e8b8467ff12bc7b90151e61248338ef (diff)
downloadopenbsd-71b791a2ff679463d6ef915490232cfa037f02b2.tar.gz
openbsd-71b791a2ff679463d6ef915490232cfa037f02b2.tar.bz2
openbsd-71b791a2ff679463d6ef915490232cfa037f02b2.zip
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.
Diffstat (limited to 'src/regress/lib/libcrypto/aeswrap')
-rw-r--r--src/regress/lib/libcrypto/aeswrap/Makefile12
1 files changed, 12 insertions, 0 deletions
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 @@
1# $OpenBSD: Makefile,v 1.1 2014/04/22 21:27:15 miod Exp $
2
3PROG= aes_wrap
4CRYPTO= ${.CURDIR}/../../../../lib/libssl/src/crypto
5CFLAGS+= -DAES_WRAP_TEST
6CFLAGS+= -I${CRYPTO} -I${CRYPTO}/aes
7.PATH: ${CRYPTO}/aes
8
9LDADD= -lcrypto
10DPADD= ${LIBCRYPTO}
11
12.include <bsd.regress.mk>