summaryrefslogtreecommitdiffstats
path: root/crypto/cast
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-03-20 23:20:15 +0000
committerRichard Levitte <levitte@openssl.org>2003-03-20 23:20:15 +0000
commit0c7d61ee0e742adf90e8c815c52eee181cd89dea (patch)
treef6e8edbf1b4da7b302199cb8c35fce89beedf58a /crypto/cast
parent78951e771128452077388acf79c79c72f379dce1 (diff)
Make sure we get the definition of OPENSSL_NO_CAST.
Diffstat (limited to 'crypto/cast')
-rw-r--r--crypto/cast/cast.h2
-rw-r--r--crypto/cast/casttest.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/crypto/cast/cast.h b/crypto/cast/cast.h
index b28e4e4f3b..90b45b950a 100644
--- a/crypto/cast/cast.h
+++ b/crypto/cast/cast.h
@@ -63,6 +63,8 @@
extern "C" {
#endif
+#include <openssl/opensslconf.h>
+
#ifdef OPENSSL_NO_CAST
#error CAST is disabled.
#endif
diff --git a/crypto/cast/casttest.c b/crypto/cast/casttest.c
index 83e5a16c73..0d020d6975 100644
--- a/crypto/cast/casttest.c
+++ b/crypto/cast/casttest.c
@@ -59,6 +59,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
+#include <openssl/opensslconf.h> /* To see if OPENSSL_NO_CAST is defined */
#include "../e_os.h"