X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/bfe645c1570343d3adca657ab67998e122ca8792..107077d7fd6736711bf5cd980221723401d37c51:/src/src/lss.c diff --git a/src/src/lss.c b/src/src/lss.c index 62b0a35f1..77baa69a0 100644 --- a/src/src/lss.c +++ b/src/src/lss.c @@ -2,8 +2,10 @@ * Exim - an Internet mail transport agent * *************************************************/ +/* Copyright (c) The Exim Maintainers 2023 */ /* Copyright (c) University of Cambridge 1995 - 2015 */ /* 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. */ @@ -115,9 +117,9 @@ Returns: a pointer to the zero-terminated base 64 string, which */ uschar * -lss_b64encode(uschar *clear, int len) +lss_b64encode(uschar * clear, int len) { -return auth_b64encode(clear, len); +return b64encode(CUS clear, len); } /* @@ -133,9 +135,9 @@ A zero is added on to the end to make it easy in cases where the result is to be interpreted as text. This is not included in the count. */ int -lss_b64decode(uschar *code, uschar **ptr) +lss_b64decode(uschar * code, uschar ** ptr) { -return auth_b64decode(code, ptr); +return b64decode(code, ptr, code); }