Move up evp.h to please OpenSSL, from Douglas E. Engert.
authorLove Hörnquist Åstrand <lha@kth.se>
Sat, 6 May 2006 06:46:27 +0000 (06:46 +0000)
committerLove Hörnquist Åstrand <lha@kth.se>
Sat, 6 May 2006 06:46:27 +0000 (06:46 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17466 ec53bebd-3082-4978-b11e-865c3cabbd6b

cf/crypto.m4
include/make_crypto.c

index 8caa6d5aaa70cebda619631020382ae62f2d22f6..fbf9ee8c99a1acef22ba2f139825a7af0da849de 100644 (file)
@@ -11,6 +11,7 @@ m4_define([test_headers], [
                #ifdef HAVE_SYS_TYPES_H
                #include <sys/types.h>
                #endif
+               #include <openssl/evp.h>
                #include <openssl/md4.h>
                #include <openssl/md5.h>
                #include <openssl/sha.h>
@@ -20,10 +21,10 @@ m4_define([test_headers], [
                #include <openssl/engine.h>
                #include <openssl/ui.h>
                #include <openssl/rand.h>
-               #include <openssl/evp.h>
                #include <openssl/hmac.h>
                #include <openssl/pkcs12.h>
                #else
+               #include <hcrypto/evp.h>
                #include <hcrypto/md4.h>
                #include <hcrypto/md5.h>
                #include <hcrypto/sha.h>
@@ -31,7 +32,6 @@ m4_define([test_headers], [
                #include <hcrypto/rc4.h>
                #include <hcrypto/aes.h>
                #include <hcrypto/engine.h>
-               #include <hcrypto/evp.h>
                #include <hcrypto/hmac.h>
                #include <hcrypto/pkcs12.h>
                #endif
index 135bfdf3c7b86f043c484ed2e02fcde57cb37acc..e85c3cdccc1604fe69756c661bd84a3922bb458a 100644 (file)
@@ -63,6 +63,7 @@ main(int argc, char **argv)
     fputs("#ifndef OPENSSL_DES_LIBDES_COMPATIBILITY\n", f);
     fputs("#define OPENSSL_DES_LIBDES_COMPATIBILITY\n", f);
     fputs("#endif\n", f);
+    fputs("#include <openssl/evp.h>\n", f);
     fputs("#include <openssl/des.h>\n", f);
     fputs("#include <openssl/rc4.h>\n", f);
     fputs("#include <openssl/rc2.h>\n", f);
@@ -72,7 +73,6 @@ main(int argc, char **argv)
     fputs("#include <openssl/sha.h>\n", f);
     fputs("#include <openssl/aes.h>\n", f);
     fputs("#include <openssl/ui.h>\n", f);
-    fputs("#include <openssl/evp.h>\n", f);
     fputs("#include <openssl/rand.h>\n", f);
     fputs("#include <openssl/engine.h>\n", f);
     fputs("#include <openssl/pkcs12.h>\n", f);
@@ -85,6 +85,7 @@ main(int argc, char **argv)
     fputs("#ifdef KRB5\n", f);
     fputs("#include <krb5-types.h>\n", f);
     fputs("#endif\n", f);
+    fputs("#include <hcrypto/evp.h>\n", f);
     fputs("#include <hcrypto/des.h>\n", f);
     fputs("#include <hcrypto/md2.h>\n", f);
     fputs("#include <hcrypto/md4.h>\n", f);
@@ -94,7 +95,6 @@ main(int argc, char **argv)
     fputs("#include <hcrypto/rc2.h>\n", f);
     fputs("#include <hcrypto/aes.h>\n", f);
     fputs("#include <hcrypto/ui.h>\n", f);
-    fputs("#include <hcrypto/evp.h>\n", f);
     fputs("#include <hcrypto/rand.h>\n", f);
     fputs("#include <hcrypto/engine.h>\n", f);
     fputs("#include <hcrypto/pkcs12.h>\n", f);