X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/1a6230a33e235e2b008caabd112f8bc6cb1bcc60..63af6f3a15c5c4779761761bd4d6185e4679eafc:/src/src/sha_ver.h diff --git a/src/src/sha_ver.h b/src/src/sha_ver.h new file mode 100644 index 000000000..630c78d41 --- /dev/null +++ b/src/src/sha_ver.h @@ -0,0 +1,32 @@ +/************************************************* +* Exim - an Internet mail transport agent * +*************************************************/ + +/* Copyright (c) Jeremy Harris 2016 */ +/* See the file NOTICE for conditions of use and distribution. */ + +/* SHA routine selection */ + +#include "exim.h" + +#ifdef SUPPORT_TLS + +# define EXIM_HAVE_SHA2 + +# ifdef USE_GNUTLS +# include + +# if GNUTLS_VERSION_NUMBER >= 0x020a00 +# define SHA_GNUTLS +# else +# define SHA_GCRYPT +# endif + +# else +# define SHA_OPENSSL +# endif + +#else +# define SHA_NATIVE +#endif +