From acc9efcd81c21f083ddd54c813e692ffd635cc6a Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Sat, 7 Jun 2014 15:06:24 +0000 Subject: Remove various test stubs. The good ones have been moved by jsing and others to the regress framework. These remaining ones just muddle us up when re-reading code repeatedly. ok jsing --- src/lib/libcrypto/mdc2/mdc2dgst.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'src/lib/libcrypto/mdc2') diff --git a/src/lib/libcrypto/mdc2/mdc2dgst.c b/src/lib/libcrypto/mdc2/mdc2dgst.c index 302f9ab9a8..d6ce1451a1 100644 --- a/src/lib/libcrypto/mdc2/mdc2dgst.c +++ b/src/lib/libcrypto/mdc2/mdc2dgst.c @@ -177,24 +177,3 @@ int MDC2_Final(unsigned char *md, MDC2_CTX *c) memcpy(&(md[MDC2_BLOCK]),(char *)c->hh,MDC2_BLOCK); return 1; } - -#undef TEST - -#ifdef TEST -main() - { - unsigned char md[MDC2_DIGEST_LENGTH]; - int i; - MDC2_CTX c; - static char *text="Now is the time for all "; - - MDC2_Init(&c); - MDC2_Update(&c,text,strlen(text)); - MDC2_Final(&(md[0]),&c); - - for (i=0; i