Make sure that NO-RSA applications etc can include evp.h
authorUlf Möller <ulf@openssl.org>
Mon, 15 May 2000 19:24:23 +0000 (19:24 +0000)
committerUlf Möller <ulf@openssl.org>
Mon, 15 May 2000 19:24:23 +0000 (19:24 +0000)
crypto/evp/evp.h

index 6c0275b..16e3719 100644 (file)
 #ifndef HEADER_ENVELOPE_H
 #define HEADER_ENVELOPE_H
 
+#ifdef OPENSSL_ALGORITHM_DEFINES
+# include <openssl/opensslconf.h>
+#else
+# define OPENSSL_ALGORITHM_DEFINES
+# include <openssl/opensslconf.h>
+# undef OPENSSL_ALGORITHM_DEFINES
+#endif
+
 #ifndef NO_MD2
 #include <openssl/md2.h>
 #endif