aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/cast/casttest.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/cast/casttest.c')
-rw-r--r--crypto/cast/casttest.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/crypto/cast/casttest.c b/crypto/cast/casttest.c
index a8a707c711..3244b119e9 100644
--- a/crypto/cast/casttest.c
+++ b/crypto/cast/casttest.c
@@ -59,6 +59,14 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+
+#ifdef NO_CAST
+int main(int argc, char *argv[])
+{
+ printf("No CAST support\n");
+ return(0);
+}
+#else
#include <openssl/cast.h>
#define FULL_TEST
@@ -219,4 +227,4 @@ int main(int argc, char *argv[])
exit(err);
return(err);
}
-
+#endif