X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fsrc%2Fexpand.c;h=4f4cbbff3e929805ec712b55515c5e4595798c87;hb=1e1ddfac79fbcd052f199500a6493c7f79cb8462;hp=5ae74ef52c3555a92f437b260aa041d70eaf3d75;hpb=1950cf85b47f7c8407b3318a4f8fc57c0af6d6ba;p=user%2Fhenk%2Fcode%2Fexim.git diff --git a/src/src/expand.c b/src/src/expand.c index 5ae74ef52..4f4cbbff3 100644 --- a/src/src/expand.c +++ b/src/src/expand.c @@ -3,6 +3,7 @@ *************************************************/ /* Copyright (c) University of Cambridge 1995 - 2018 */ +/* Copyright (c) The Exim Maintainers 2020 */ /* See the file NOTICE for conditions of use and distribution. */ @@ -1172,8 +1173,8 @@ Returns: NULL if the subfield was not found, or a pointer to the subfield's data */ -static uschar * -expand_getkeyed(uschar * key, const uschar * s) +uschar * +expand_getkeyed(const uschar * key, const uschar * s) { int length = Ustrlen(key); Uskip_whitespace(&s); @@ -2438,6 +2439,7 @@ else +#ifdef EXPERIMENTAL_SRS_NATIVE /* Do an hmac_md5. The result is _not_ nul-terminated, and is sized as the smaller of a full hmac_md5 result (16 bytes) or the supplied output buffer. @@ -2512,6 +2514,7 @@ for (int i = 0, j = len; i < MD5_HASHLEN; i++) } return; } +#endif /*EXPERIMENTAL_SRS_NATIVE*/ /************************************************* @@ -5276,16 +5279,8 @@ while (*s != 0) case EITEM_READSOCK: { - client_conn_ctx cctx; - int timeout = 5; - int save_ptr = gstring_length(yield); - FILE * fp = NULL; uschar * arg; uschar * sub_arg[4]; - uschar * server_name = NULL; - host_item host; - BOOL do_shutdown = TRUE; - BOOL do_tls = FALSE; /* Only set under ! DISABLE_TLS */ if (expand_forbid & RDO_READSOCK) {