blob: 6299ae28a2f5530f24e4226c2e4724dc06cd1865 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 */
|