summaryrefslogtreecommitdiff
path: root/source4/torture/local
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-08-11 11:26:58 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:15:28 -0500
commit559158a3c932cbe20a842e4a8ea46aea42403c2f (patch)
tree647eeaeebd069771946bfa53739ca81c860059a3 /source4/torture/local
parenta573ae9978c5224e9111c801b2c7caead92ff0ff (diff)
downloadsamba-559158a3c932cbe20a842e4a8ea46aea42403c2f.tar.gz
samba-559158a3c932cbe20a842e4a8ea46aea42403c2f.tar.bz2
samba-559158a3c932cbe20a842e4a8ea46aea42403c2f.zip
r17492: add a test with the example values from rfc1321 (MD5)
metze (This used to be commit bb1e4954f9aa60858a2c5b2f798f10fd75849b42)
Diffstat (limited to 'source4/torture/local')
-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 03b4304e24..db4a554596 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/md5test.o \
../../lib/crypto/sha1test.o \
../../lib/crypto/hmacsha1test.o \
messaging.o \
diff --git a/source4/torture/local/local.c b/source4/torture/local/local.c
index c7f7d2b91c..45eceaf6ac 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-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);
for (i = 0; suite_generators[i]; i++)