1 /*************************************************
2 * Exim - an Internet mail transport agent *
3 *************************************************/
5 /* Copyright (c) Jeremy Harris 1995 - 2018 */
6 /* See the file NOTICE for conditions of use and distribution. */
8 /* Signing and hashing routine selection for PDKIM */
11 #include "../sha_ver.h"
15 # include <gnutls/gnutls.h>
17 # if GNUTLS_VERSION_NUMBER >= 0x030000
19 # if GNUTLS_VERSION_NUMBER >= 0x030600
20 # define SIGN_HAVE_ED25519
28 # if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10101000L
29 # define SIGN_HAVE_ED25519