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