Promote the pdkim variant-implementation sha routines to toplevel
[exim.git] / src / src / pdkim / crypt_ver.h
CommitLineData
cb224393
JH
1/*************************************************
2* Exim - an Internet mail transport agent *
3*************************************************/
4
5/* Copyright (c) Jeremy Harris 2016 */
6/* See the file NOTICE for conditions of use and distribution. */
7
8/* RSA and SHA routine selection for PDKIM */
9
10#include "../exim.h"
63af6f3a 11#include "../sha_ver.h"
cb224393
JH
12
13
14#ifdef USE_GNUTLS
cb224393 15# include <gnutls/gnutls.h>
2592e6c0 16
274b8fd3 17# if GNUTLS_VERSION_NUMBER >= 0x30000
2592e6c0
JH
18# define RSA_GNUTLS
19# else
20# define RSA_GCRYPT
21# endif
22
cb224393
JH
23#else
24# define RSA_OPENSSL
cb224393
JH
25#endif
26