Skip to content

Commit bcb130f

Browse files
authored
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.
1 parent 1fbda19 commit bcb130f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/xmlsec/base64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extern "C" {
2525
*
2626
* The default maximum base64 encoded line size.
2727
*/
28-
#define XMLSEC_BASE64_LINESIZE 64
28+
#define XMLSEC_BASE64_LINESIZE 20000
2929

3030
XMLSEC_EXPORT int xmlSecBase64GetDefaultLineSize (void);
3131
XMLSEC_EXPORT void xmlSecBase64SetDefaultLineSize (int columns);

0 commit comments

Comments
 (0)