/* $NetBSD: crypto-headers.h,v 1.7 2023/09/11 15:12:12 christos Exp $ */ #ifndef __crypto_header__ #define __crypto_header__ #ifndef PACKAGE_NAME #error "need config.h" #endif #ifdef HAVE_HCRYPTO_W_OPENSSL #define OPENSSL_DES_LIBDES_COMPATIBILITY #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #if OPENSSL_VERSION_NUMBER < 0x10100000UL # ifndef BN_is_negative # define BN_set_negative(bn, flag) ((bn)->neg=(flag)?1:0) # define BN_is_negative(bn) ((bn)->neg != 0) # endif #endif #include #else /* !HAVE_HCRYPTO_W_OPENSSL */ #ifdef KRB5 #include #endif #include #include #include #include #include #include #include #include #include #include #include #include #endif #endif /* __crypto_header__ */