diff options
Diffstat (limited to 'src/pdkim/pdkim_hash.h')
-rw-r--r-- | src/pdkim/pdkim_hash.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/pdkim/pdkim_hash.h b/src/pdkim/pdkim_hash.h new file mode 100644 index 0000000..6299ae2 --- /dev/null +++ b/src/pdkim/pdkim_hash.h @@ -0,0 +1,38 @@ +/* + * PDKIM - a RFC4871 (DKIM) implementation + * + * Copyright (C) 1995 - 2018 Exim maintainers + * + * Hash interface functions + */ + +#include "../exim.h" + +#if !defined(HASH_H) /* entire file */ +#define HASH_H + +#ifndef SUPPORT_TLS +# error Need SUPPORT_TLS for DKIM +#endif + +#include "crypt_ver.h" +#include "../blob.h" +#include "../hash.h" + +#ifdef SIGN_OPENSSL +# include <openssl/rsa.h> +# include <openssl/ssl.h> +# include <openssl/err.h> +#elif defined(SIGN_GNUTLS) +# include <gnutls/gnutls.h> +# include <gnutls/x509.h> +#endif + +#if defined(SHA_OPENSSL) +# include "pdkim.h" +#elif defined(SHA_GCRYPT) +# include "pdkim.h" +#endif + +#endif +/* End of File */ |