Testsuite: OpenSSL version output variances
[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
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
274b8fd3 17# if GNUTLS_VERSION_NUMBER >= 0x30000
d73e45df 18# define SIGN_GNUTLS
2592e6c0 19# else
d73e45df 20# define SIGN_GCRYPT
2592e6c0
JH
21# endif
22
cb224393 23#else
d73e45df 24# define SIGN_OPENSSL
cb224393
JH
25#endif
26