Skip to content

Commit c7620d4

Browse files
committed
Per default support PEM line lengths up to 80 chars
Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
1 parent 55cfb7c commit c7620d4

14 files changed

+35
-6
lines changed

src/headers/tomcrypt_custom.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@
575575
#if defined(LTC_PEM)
576576
/* Size of the line-buffer */
577577
#ifndef LTC_PEM_DECODE_BUFSZ
578-
#define LTC_PEM_DECODE_BUFSZ 72
578+
#define LTC_PEM_DECODE_BUFSZ 80
579579
#elif LTC_PEM_DECODE_BUFSZ < 72
580580
#error "LTC_PEM_DECODE_BUFSZ shall not be < 72 bytes"
581581
#endif

0 commit comments

Comments
 (0)