Copyright updates:
[exim.git] / src / src / lss.c
index 62b0a35f108af7d024a97b63842a08ed32cf59bc..77baa69a0e9568db4a17ac793ec26e2aa41b9a0c 100644 (file)
@@ -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);
 }