SPDX: license tags (mostly by guesswork)
[exim.git] / src / src / pdkim / pdkim_hash.h
1 /*
2  *  PDKIM - a RFC4871 (DKIM) implementation
3  *
4  *  Copyright (C) 1995 - 2018  Exim maintainers
5  *  SPDX-License-Identifier: GPL-2.0-only
6  *
7  *  Hash interface functions
8  */
9
10 #include "../exim.h"
11
12 #if !defined(HASH_H)    /* entire file */
13 #define HASH_H
14
15 #ifdef DISABLE_TLS
16 # error Must not DISABLE_TLS, for DKIM
17 #endif
18
19 #include "crypt_ver.h"
20 #include "../blob.h"
21 #include "../hash.h"
22
23 #ifdef SIGN_OPENSSL
24 # include <openssl/rsa.h>
25 # include <openssl/ssl.h>
26 # include <openssl/err.h>
27 #elif defined(SIGN_GNUTLS)
28 # include <gnutls/gnutls.h>
29 # include <gnutls/x509.h>
30 #endif
31
32 #if defined(SHA_OPENSSL)
33 # include "pdkim.h"
34 #elif defined(SHA_GCRYPT)
35 # include "pdkim.h"
36 #endif
37
38 #endif
39 /* End of File */