summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-11 13:13:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:15:29 -0500
commitb165e48b3e6023a21dc39acd883d56b274cd5d5f (patch)
treedd509afadff24eca3761a30160a55d869b033f90 /source4/torture
parenta889fef4b1632812da9be805f3eb82552581ab35 (diff)
downloadsamba-b165e48b3e6023a21dc39acd883d56b274cd5d5f.tar.gz
samba-b165e48b3e6023a21dc39acd883d56b274cd5d5f.tar.bz2
samba-b165e48b3e6023a21dc39acd883d56b274cd5d5f.zip
r17494: add tests for the example values from rfc 1320 (MD4)
metze (This used to be commit 5609ab2116e3568e4f1a82b3ae781f17a6ffb645)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/local/config.mk1
-rw-r--r--source4/torture/local/local.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/local/config.mk b/source4/torture/local/config.mk
index db4a554596..4165de4b56 100644
--- a/source4/torture/local/config.mk
+++ b/source4/torture/local/config.mk
@@ -8,6 +8,7 @@ PRIVATE_PROTO_HEADER = \
OBJ_FILES = \
iconv.o \
../../lib/talloc/testsuite.o \
+ ../../lib/crypto/md4test.o \
../../lib/crypto/md5test.o \
../../lib/crypto/sha1test.o \
../../lib/crypto/hmacsha1test.o \
diff --git a/source4/torture/local/local.c b/source4/torture/local/local.c
index 45eceaf6ac..455d29d2ee 100644
--- a/source4/torture/local/local.c
+++ b/source4/torture/local/local.c
@@ -51,6 +51,7 @@ NTSTATUS torture_local_init(void)
TALLOC_CTX *mem_ctx = talloc_autofree_context();
register_torture_op("LOCAL-TALLOC", torture_local_talloc);
+ register_torture_op("LOCAL-CRYPTO-MD4", torture_local_crypto_md4);
register_torture_op("LOCAL-CRYPTO-MD5", torture_local_crypto_md5);
register_torture_op("LOCAL-CRYPTO-SHA1", torture_local_crypto_sha1);
register_torture_op("LOCAL-CRYPTO-HMACSHA1", torture_local_crypto_hmacsha1);