diff --git a/library/x509parse.c b/library/x509parse.c index 70dd71c1f..38824b0da 100644 --- a/library/x509parse.c +++ b/library/x509parse.c @@ -2064,6 +2064,9 @@ int x509parse_crl_info( char *buf, size_t size, char *prefix, x509_crl *crl ) } SAFE_SNPRINTF(); + ret = snprintf( p, n, "\n" ); + SAFE_SNPRINTF(); + return( size - n ); }