From bcb130ffe50086c5ebade24b9f4fcbfe91664417 Mon Sep 17 00:00:00 2001 From: Kevin Fox Date: Fri, 8 Nov 2019 16:13:17 -0500 Subject: [PATCH] Update base64.h to set base64 linesize to 20000 We cannot have line endings in our signed xml and thus need the line size to be artificially high to prevent this. --- include/xmlsec/base64.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xmlsec/base64.h b/include/xmlsec/base64.h index 7e13862fe..eecb9aab0 100644 --- a/include/xmlsec/base64.h +++ b/include/xmlsec/base64.h @@ -25,7 +25,7 @@ extern "C" { * * The default maximum base64 encoded line size. */ -#define XMLSEC_BASE64_LINESIZE 64 +#define XMLSEC_BASE64_LINESIZE 20000 XMLSEC_EXPORT int xmlSecBase64GetDefaultLineSize (void); XMLSEC_EXPORT void xmlSecBase64SetDefaultLineSize (int columns);