Macros: convert to tree for speed of lookup
[exim.git] / src / src / pdkim / crypt_ver.h
CommitLineData
cb224393
JH
1/*************************************************
2* Exim - an Internet mail transport agent *
3*************************************************/
4
9242a7e8 5/* Copyright (c) Jeremy Harris 2017 */
cb224393
JH
6/* See the file NOTICE for conditions of use and distribution. */
7
d73e45df 8/* Signing and hashing routine selection for PDKIM */
cb224393
JH
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
286b9d5f 17# if GNUTLS_VERSION_NUMBER >= 0x030000
d73e45df 18# define SIGN_GNUTLS
286b9d5f
JH
19# if GNUTLS_VERSION_NUMBER >= 0x030600
20# define SIGN_HAVE_ED25519
21# endif
2592e6c0 22# else
d73e45df 23# define SIGN_GCRYPT
2592e6c0
JH
24# endif
25
cb224393 26#else
d73e45df 27# define SIGN_OPENSSL
cb224393
JH
28#endif
29