summaryrefslogtreecommitdiffstats
path: root/crypto/idea/ideatest.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/idea/ideatest.c')
-rw-r--r--crypto/idea/ideatest.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/crypto/idea/ideatest.c b/crypto/idea/ideatest.c
index 4593d9e694..64b9353e41 100644
--- a/crypto/idea/ideatest.c
+++ b/crypto/idea/ideatest.c
@@ -59,6 +59,14 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+
+#ifdef NO_IDEA
+int main(int argc, char *argv[])
+{
+ printf("No IDEA support\n");
+ return(0);
+}
+#else
#include <openssl/idea.h>
unsigned char k[16]={
@@ -219,4 +227,4 @@ static char *pt(unsigned char *p)
ret[16]='\0';
return(ret);
}
-
+#endif