summaryrefslogtreecommitdiffstats
path: root/crypto/md2/md2test.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/md2/md2test.c')
-rw-r--r--crypto/md2/md2test.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/md2/md2test.c b/crypto/md2/md2test.c
index 2368ec3332..63404b1833 100644
--- a/crypto/md2/md2test.c
+++ b/crypto/md2/md2test.c
@@ -59,6 +59,14 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+
+#ifdef NO_MD2
+int main(int argc, char *argv[])
+{
+ printf("No MD2 support\n");
+ return(0);
+}
+#else
#include <openssl/md2.h>
char *test[]={
@@ -120,3 +128,4 @@ static char *pt(unsigned char *md)
sprintf(&(buf[i*2]),"%02x",md[i]);
return(buf);
}
+#endif