diff options
| author | miod <> | 2014-04-22 21:27:15 +0000 |
|---|---|---|
| committer | miod <> | 2014-04-22 21:27:15 +0000 |
| commit | 4e5c7a92843baa574477161a6a1b2df108ba3cde (patch) | |
| tree | 7f01145a77987f3aea2deaa91990a805eb4bb794 /src/regress/lib/libcrypto/aeswrap | |
| parent | e22e908b0314c8680bfa1ce27f4d5ddb881238c5 (diff) | |
| download | openbsd-4e5c7a92843baa574477161a6a1b2df108ba3cde.tar.gz openbsd-4e5c7a92843baa574477161a6a1b2df108ba3cde.tar.bz2 openbsd-4e5c7a92843baa574477161a6a1b2df108ba3cde.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> | ||
