Check for <openssl/engine.h> if we are to consider using OpenSSL, also

check for <hcrypto/...> headers since make_crypto.c assumes that the
name of the files.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16587 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2006-01-18 15:56:34 +00:00
parent d8e19f9232
commit d9e74e4571

View File

@@ -17,21 +17,23 @@ m4_define([test_headers], [
#include <openssl/des.h> #include <openssl/des.h>
#include <openssl/rc4.h> #include <openssl/rc4.h>
#include <openssl/aes.h> #include <openssl/aes.h>
#include <openssl/engine.h>
#include <openssl/ui.h> #include <openssl/ui.h>
#include <openssl/rand.h> #include <openssl/rand.h>
#include <openssl/evp.h> #include <openssl/evp.h>
#include <openssl/hmac.h> #include <openssl/hmac.h>
#include <openssl/pkcs12.h> #include <openssl/pkcs12.h>
#else #else
#include <md4.h> #include <hcrypto/md4.h>
#include <md5.h> #include <hcrypto/md5.h>
#include <sha.h> #include <hcrypto/sha.h>
#include <des.h> #include <hcrypto/des.h>
#include <rc4.h> #include <hcrypto/rc4.h>
#include <aes.h> #include <hcrypto/aes.h>
#include <evp.h> #include <hcrypto/engine.h>
#include <hmac.h> #include <hcrypto/evp.h>
#include <pkcs12.h> #include <hcrypto/hmac.h>
#include <hcrypto/pkcs12.h>
#endif #endif
]) ])
m4_define([test_body], [ m4_define([test_body], [