Explicitly include <openssl/openssl.conf>. des.h still needs e_os2.h (at
authorjsing <jsing@openbsd.org>
Sat, 24 May 2014 10:10:11 +0000 (10:10 +0000)
committerjsing <jsing@openbsd.org>
Sat, 24 May 2014 10:10:11 +0000 (10:10 +0000)
least for a little while longer...)

lib/libcrypto/des/des.h
lib/libssl/src/crypto/des/des.h

index 3eff114..19a9918 100644 (file)
@@ -59,8 +59,9 @@
 #ifndef HEADER_NEW_DES_H
 #define HEADER_NEW_DES_H
 
-#include <openssl/e_os2.h>     /* OPENSSL_EXTERN, OPENSSL_NO_DES,
-                                  DES_LONG (via openssl/opensslconf.h */
+#include <openssl/opensslconf.h>
+
+#include <openssl/e_os2.h>     /* OPENSSL_DECLARE_GLOBAL, OPENSSL_GLOBAL_REF */
 
 #ifdef OPENSSL_NO_DES
 #error DES is disabled.
index 3eff114..19a9918 100644 (file)
@@ -59,8 +59,9 @@
 #ifndef HEADER_NEW_DES_H
 #define HEADER_NEW_DES_H
 
-#include <openssl/e_os2.h>     /* OPENSSL_EXTERN, OPENSSL_NO_DES,
-                                  DES_LONG (via openssl/opensslconf.h */
+#include <openssl/opensslconf.h>
+
+#include <openssl/e_os2.h>     /* OPENSSL_DECLARE_GLOBAL, OPENSSL_GLOBAL_REF */
 
 #ifdef OPENSSL_NO_DES
 #error DES is disabled.