*************************************************/
/* Copyright (c) Phil Pennock 2012, 2016
+ * Copyright (c) The Exim Maintainers 2017 - 2018
* But almost everything here is fixed published constants from RFCs, so also:
* Copyright (C) The Internet Society (2003)
* Copyright (C) The IETF Trust (2008)
#include "exim.h"
-#ifndef SUPPORT_TLS
+#ifdef DISABLE_TLS
static void dummy(int x) { dummy(x-1); }
#else
const char *pem;
};
+#define EXIM_DH_PRIME_DEFAULT dh_exim_20160529_3
+
/* KEEP SORTED ALPHABETICALLY;
* duplicate PEM are okay, if we want aliases, but names must be alphabetical */
static struct dh_constant dh_constants[] = {
/* label pem */
- { "default", dh_exim_20160529_3 },
+ { "default", EXIM_DH_PRIME_DEFAULT },
{ "exim.dev.20160529.1", dh_exim_20160529_1 },
{ "exim.dev.20160529.2", dh_exim_20160529_2 },
{ "exim.dev.20160529.3", dh_exim_20160529_3 },
const char *
std_dh_prime_default(void)
{
- return dh_ike_23_pem;
+ return EXIM_DH_PRIME_DEFAULT;
}
return NULL;
}
-#endif /* SUPPORT_TLS */
+#endif /*DISABLE_TLS*/
/* EOF */