diff options
Diffstat (limited to 'crypto/mdc2/mdc2test.c')
-rw-r--r-- | crypto/mdc2/mdc2test.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/crypto/mdc2/mdc2test.c b/crypto/mdc2/mdc2test.c index f627162988..6fc6c0ed00 100644 --- a/crypto/mdc2/mdc2test.c +++ b/crypto/mdc2/mdc2test.c @@ -59,6 +59,18 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> + +#ifdef NO_DES +#define NO_MDC2 +#endif + +#ifdef NO_MDC2 +int main(int argc, char *argv[]) +{ + printf("No MDC2 support\n"); + return(0); +} +#else #include <openssl/mdc2.h> static unsigned char pad1[16]={ @@ -117,4 +129,4 @@ int main(int argc, char *argv[]) exit(ret); return(ret); } - +#endif |