Skip to content

Commit

Permalink
Update base64.h to set base64 linesize to 20000
Browse files Browse the repository at this point in the history
We cannot have line endings in our signed xml and thus need the line size to be artificially high to prevent this.
  • Loading branch information
KFoxder authored and ychartsdeployer committed Aug 19, 2024
1 parent d76b77b commit 8289484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/xmlsec/base64.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,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);
Expand Down

0 comments on commit 8289484

Please sign in to comment.