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. */
7 /* SPDX-License-Identifier: GPL-2.0-or-later */
9 /* Signing and hashing routine selection for PDKIM */
12 #include "../sha_ver.h"
16 # include <gnutls/gnutls.h>
18 # if GNUTLS_VERSION_NUMBER >= 0x030000
20 # if GNUTLS_VERSION_NUMBER >= 0x030600
21 # define SIGN_HAVE_ED25519
30 # if !defined(LIBRESSL_VERSION_NUMBER) && OPENSSL_VERSION_NUMBER >= 0x10101000L
31 # define SIGN_HAVE_ED25519