Add the possibility to enable olde des support, not just disable it, for future suppo...
[openssl.git] / crypto / des / des.h
index a36a8e68a4d18f85b228ff404a6df56be446662b..4cb9d84fdf6a9b21c69b9fd074678fe3166a4b0b 100644 (file)
@@ -92,6 +92,12 @@ typedef struct DES_ks
     } DES_key_schedule;
 
 #ifndef OPENSSL_DISABLE_OLD_DES_SUPPORT
+# ifndef OPENSSL_ENABLE_OLD_DES_SUPPORT
+#  define OPENSSL_ENABLE_OLD_DES_SUPPORT
+# endif
+#endif
+
+#ifdef OPENSSL_ENABLE_OLD_DES_SUPPORT
 # include <openssl/des_old.h>
 #endif