diff options
author | miod <> | 2014-04-22 21:27:15 +0000 |
---|---|---|
committer | miod <> | 2014-04-22 21:27:15 +0000 |
commit | 71b791a2ff679463d6ef915490232cfa037f02b2 (patch) | |
tree | 7f01145a77987f3aea2deaa91990a805eb4bb794 /src/regress/lib/libcrypto/aeswrap | |
parent | 996a57299e8b8467ff12bc7b90151e61248338ef (diff) | |
download | openbsd-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/Makefile | 12 |
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 | |||
3 | PROG= aes_wrap | ||
4 | CRYPTO= ${.CURDIR}/../../../../lib/libssl/src/crypto | ||
5 | CFLAGS+= -DAES_WRAP_TEST | ||
6 | CFLAGS+= -I${CRYPTO} -I${CRYPTO}/aes | ||
7 | .PATH: ${CRYPTO}/aes | ||
8 | |||
9 | LDADD= -lcrypto | ||
10 | DPADD= ${LIBCRYPTO} | ||
11 | |||
12 | .include <bsd.regress.mk> | ||