mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-05 19:35:48 +03:00
Fixes whitespace errors in x509_crl.c
This commit is contained in:
@@ -502,7 +502,8 @@ int mbedtls_x509_crl_parse( mbedtls_x509_crl *chain, const unsigned char *buf, s
|
|||||||
{
|
{
|
||||||
mbedtls_pem_init( &pem );
|
mbedtls_pem_init( &pem );
|
||||||
|
|
||||||
/* Avoid calling mbedtls_pem_read_buffer() on non-null-terminated string */
|
// Avoid calling mbedtls_pem_read_buffer() on non-null-terminated
|
||||||
|
// string
|
||||||
if( buflen == 0 || buf[buflen - 1] != '\0' )
|
if( buflen == 0 || buf[buflen - 1] != '\0' )
|
||||||
ret = MBEDTLS_ERR_PEM_NO_HEADER_FOOTER_PRESENT;
|
ret = MBEDTLS_ERR_PEM_NO_HEADER_FOOTER_PRESENT;
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user