X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/c5b0340697326238b0e2afd9d341185077d60d35..2043336d393ea7725942b5be81b486b214eb7b9e:/src/src/expand.c diff --git a/src/src/expand.c b/src/src/expand.c index f38d7a492..9706f2a6b 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -530,7 +530,7 @@ static var_entry var_table[] = { { "dkim_verify_reason", vtype_stringptr, &dkim_verify_reason }, { "dkim_verify_status", vtype_stringptr, &dkim_verify_status }, #endif -#ifdef EXPERIMENTAL_DMARC +#ifdef SUPPORT_DMARC { "dmarc_domain_policy", vtype_stringptr, &dmarc_domain_policy }, { "dmarc_status", vtype_stringptr, &dmarc_status }, { "dmarc_status_text", vtype_stringptr, &dmarc_status_text }, @@ -3516,7 +3516,7 @@ Returns: nothing */ static void -chash_start(int type, void *base) +chash_start(int type, void * base) { if (type == HMAC_MD5) md5_start((md5 *)base); @@ -3525,7 +3525,7 @@ else } static void -chash_mid(int type, void *base, uschar *string) +chash_mid(int type, void * base, const uschar * string) { if (type == HMAC_MD5) md5_mid((md5 *)base, string); @@ -3534,7 +3534,8 @@ else } static void -chash_end(int type, void *base, uschar *string, int length, uschar *digest) +chash_end(int type, void * base, const uschar * string, int length, + uschar * digest) { if (type == HMAC_MD5) md5_end((md5 *)base, string, length, digest); @@ -4390,7 +4391,7 @@ while (*s != 0) #ifndef DISABLE_DKIM yield = authres_dkim(yield); #endif -#ifdef EXPERIMENTAL_DMARC +#ifdef SUPPORT_DMARC yield = authres_dmarc(yield); #endif #ifdef EXPERIMENTAL_ARC @@ -5200,7 +5201,7 @@ while (*s != 0) #endif /* Allow sequencing of test actions */ - if (f.running_in_test_harness) millisleep(100); + testharness_pause_ms(100); /* Write the request string, if not empty or already done */ @@ -5228,7 +5229,7 @@ while (*s != 0) if (!do_tls && do_shutdown) shutdown(cctx.sock, SHUT_WR); #endif - if (f.running_in_test_harness) millisleep(100); + testharness_pause_ms(100); /* Now we need to read from the socket, under a timeout. The function that reads a file can be used. */