git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Unbreak non-DANE build
[exim.git]
/
src
/
src
/
expand.c
diff --git
a/src/src/expand.c
b/src/src/expand.c
index 596fb240494f46184121d75240d442b472609b38..a1a70c718f9107e4cfe9b7dcc1a4641f0d9d1fb6 100644
(file)
--- a/
src/src/expand.c
+++ b/
src/src/expand.c
@@
-4981,10
+4981,13
@@
while (*s != 0)
#ifdef SUPPORT_TLS
if (do_tls)
{
#ifdef SUPPORT_TLS
if (do_tls)
{
- tls_support tls_dummy = {
0
};
+ tls_support tls_dummy = {
.sni=NULL
};
uschar * errstr;
uschar * errstr;
- if (!(tls_ctx = tls_client_start(fd, &host, NULL, NULL, NULL,
+ if (!(tls_ctx = tls_client_start(fd, &host, NULL, NULL,
+# ifdef SUPPORT_DANE
+ NULL,
+# endif
&tls_dummy, &errstr)))
{
expand_string_message = string_sprintf("TLS connect failed: %s", errstr);
&tls_dummy, &errstr)))
{
expand_string_message = string_sprintf("TLS connect failed: %s", errstr);