summaryrefslogtreecommitdiffstats
path: root/crypto/rc2/rc2test.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/rc2/rc2test.c')
-rw-r--r--crypto/rc2/rc2test.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/rc2/rc2test.c b/crypto/rc2/rc2test.c
index e6b355f434..6a5defa6ea 100644
--- a/crypto/rc2/rc2test.c
+++ b/crypto/rc2/rc2test.c
@@ -62,6 +62,14 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+
+#ifdef NO_RC2
+int main(int argc, char *argv[])
+{
+ printf("No RC2 support\n");
+ return(0);
+}
+#else
#include <openssl/rc2.h>
unsigned char RC2key[4][16]={
@@ -258,3 +266,4 @@ static char *pt(unsigned char *p)
}
#endif
+#endif