SPDX: license tags (mostly by guesswork)
[exim.git] / src / src / lss.c
index ca27bd4d5c902bb64b36cd5700a239870cb1082e..0d20c07b65ec8461207d47c357a141f186b31585 100644 (file)
@@ -2,8 +2,9 @@
 *     Exim - an Internet mail transport agent    *
 *************************************************/
 
-/* Copyright (c) University of Cambridge 1995 - 2009 */
+/* Copyright (c) University of Cambridge 1995 - 2015 */
 /* See the file NOTICE for conditions of use and distribution. */
+/* SPDX-License-Identifier: GPL-2.0-only */
 
 /* Support functions for calling from local_scan(). These are mostly just
 wrappers for various internal functions. */
@@ -115,9 +116,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);
 }
 
 /*
@@ -135,7 +136,7 @@ be interpreted as text. This is not included in the count. */
 int
 lss_b64decode(uschar *code, uschar **ptr)
 {
-return auth_b64decode(code, ptr);
+return b64decode(code, ptr);
 }