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
tidying
[exim.git]
/
src
/
src
/
lss.c
diff --git
a/src/src/lss.c
b/src/src/lss.c
index ab358d994f1ebf4b90b37b3ce8735f6ff1815930..e6ec1d6d13242ea70f40053264d433b495ab0328 100644
(file)
--- a/
src/src/lss.c
+++ b/
src/src/lss.c
@@
-2,8
+2,9
@@
* Exim - an Internet mail transport agent *
*************************************************/
* Exim - an Internet mail transport agent *
*************************************************/
-/* Copyright (c) University of Cambridge 1995 - 20
09
*/
+/* Copyright (c) University of Cambridge 1995 - 20
15
*/
/* See the file NOTICE for conditions of use and distribution. */
/* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-or-later */
/* Support functions for calling from local_scan(). These are mostly just
wrappers for various internal functions. */
/* Support functions for calling from local_scan(). These are mostly just
wrappers for various internal functions. */
@@
-27,7
+28,7
@@
Returns: OK/FAIL/DEFER
int
lss_match_domain(uschar *domain, uschar *list)
{
int
lss_match_domain(uschar *domain, uschar *list)
{
-return match_isinlist(
domain,
&list, 0, &domainlist_anchor, NULL, MCL_DOMAIN,
+return match_isinlist(
CUS domain, CUSS
&list, 0, &domainlist_anchor, NULL, MCL_DOMAIN,
TRUE, NULL);
}
TRUE, NULL);
}
@@
-49,7
+50,7
@@
Returns: OK/FAIL/DEFER
int
lss_match_local_part(uschar *local_part, uschar *list, BOOL caseless)
{
int
lss_match_local_part(uschar *local_part, uschar *list, BOOL caseless)
{
-return match_isinlist(
local_part,
&list, 0, &localpartlist_anchor, NULL,
+return match_isinlist(
CUS local_part, CUSS
&list, 0, &localpartlist_anchor, NULL,
MCL_LOCALPART, caseless, NULL);
}
MCL_LOCALPART, caseless, NULL);
}
@@
-71,7
+72,7
@@
Returns: OK/FAIL/DEFER
int
lss_match_address(uschar *address, uschar *list, BOOL caseless)
{
int
lss_match_address(uschar *address, uschar *list, BOOL caseless)
{
-return match_address_list(
address, caseless, TRUE,
&list, NULL, -1, 0, NULL);
+return match_address_list(
CUS address, caseless, TRUE, CUSS
&list, NULL, -1, 0, NULL);
}
}
@@
-95,7
+96,7
@@
Returns: OK/FAIL/DEFER
int
lss_match_host(uschar *host_name, uschar *host_address, uschar *list)
{
int
lss_match_host(uschar *host_name, uschar *host_address, uschar *list)
{
-return verify_check_this_host(&list, NULL, host_name, host_address, NULL);
+return verify_check_this_host(
CUSS
&list, NULL, host_name, host_address, NULL);
}
}
@@
-115,9
+116,9
@@
Returns: a pointer to the zero-terminated base 64 string, which
*/
uschar *
*/
uschar *
-lss_b64encode(uschar *clear, int len)
+lss_b64encode(uschar *
clear, int len)
{
{
-return
auth_b64encode(
clear, len);
+return
b64encode(CUS
clear, len);
}
/*
}
/*
@@
-135,7
+136,7
@@
be interpreted as text. This is not included in the count. */
int
lss_b64decode(uschar *code, uschar **ptr)
{
int
lss_b64decode(uschar *code, uschar **ptr)
{
-return
auth_
b64decode(code, ptr);
+return b64decode(code, ptr);
}
}