Just make a copy of the cksum instead of trying to work around the
[heimdal.git] / include / crypto-headers.h
blob60737aa5661ccc584fb39a2fc96cf6838fbba53c
1 #ifndef __crypto_header__
2 #define __crypto_header__
4 #ifndef PACKAGE_NAME
5 #error "need config.h"
6 #endif
8 #ifdef HAVE_OPENSSL
10 #define OPENSSL_DES_LIBDES_COMPATIBILITY
12 #include <openssl/evp.h>
13 #include <openssl/des.h>
14 #include <openssl/rc4.h>
15 #include <openssl/rc2.h>
16 #include <openssl/md2.h>
17 #include <openssl/md4.h>
18 #include <openssl/md5.h>
19 #include <openssl/sha.h>
20 #include <openssl/ui.h>
21 #include <openssl/rand.h>
22 #include <openssl/engine.h>
23 #include <openssl/pkcs12.h>
24 #include <openssl/pem.h>
25 #include <openssl/hmac.h>
26 #include <openssl/ec.h>
27 #include <openssl/ecdsa.h>
28 #include <openssl/ecdh.h>
29 #ifndef BN_is_negative
30 #define BN_set_negative(bn, flag) ((bn)->neg=(flag)?1:0)
31 #define BN_is_negative(bn) ((bn)->neg != 0)
32 #endif
34 #else /* !HAVE_OPENSSL */
36 #ifdef KRB5
37 #include <krb5-types.h>
38 #endif
40 #include <hcrypto/evp.h>
41 #include <hcrypto/des.h>
42 #include <hcrypto/md2.h>
43 #include <hcrypto/md4.h>
44 #include <hcrypto/md5.h>
45 #include <hcrypto/sha.h>
46 #include <hcrypto/rc4.h>
47 #include <hcrypto/rc2.h>
48 #include <hcrypto/ui.h>
49 #include <hcrypto/rand.h>
50 #include <hcrypto/engine.h>
51 #include <hcrypto/pkcs12.h>
52 #include <hcrypto/hmac.h>
53 #include <hcrypto/ec.h>
54 #include <hcrypto/ecdsa.h>
55 #include <hcrypto/ecdh.h>
57 #endif /* HAVE_OPENSSL */
59 #endif /* __crypto_header__ */