Updates from 1.0.0-stable
[openssl.git] / crypto / cast / cast.h
index e24e13309979fce491d8c9eccaf88bcceca46fac..79bb297c1a05da9204ee801dba1b043cbb02ba38 100644 (file)
 extern "C" {
 #endif
 
-#ifdef NO_CAST
+#include <openssl/opensslconf.h>
+
+#ifdef OPENSSL_NO_CAST
 #error CAST is disabled.
 #endif
 
 #define CAST_ENCRYPT   1
 #define CAST_DECRYPT   0
 
-#define CAST_LONG unsigned long
+#define CAST_LONG unsigned int
 
 #define CAST_BLOCK     8
 #define CAST_KEY_LENGTH        16