commit | 0f91c0f4415faa1d421d5d348e090eea4a7e9ba1 | [log] [tgz] |
---|---|---|
author | Philippe Antoine <contact@catenacyber.fr> | Wed Jun 20 08:13:24 2018 +0200 |
committer | Simon Butcher <simon.butcher@arm.com> | Fri Jun 22 11:45:38 2018 +0100 |
tree | 839beaf3edd56b77546437c57389e8abd9da3693 | |
parent | dc58e59280891b354486e61943ae27d0c5f23442 [diff] |
Coding style Commit to be squashed
diff --git a/library/x509_csr.c b/library/x509_csr.c index 40a0f20..779098d 100644 --- a/library/x509_csr.c +++ b/library/x509_csr.c
@@ -279,7 +279,8 @@ #if defined(MBEDTLS_PEM_PARSE_C) /* Avoid calling mbedtls_pem_read_buffer() on non-null-terminated string */ - if( buf[buflen - 1] == '\0' ) { + if( buf[buflen - 1] == '\0' ) + { mbedtls_pem_init( &pem ); ret = mbedtls_pem_read_buffer( &pem, "-----BEGIN CERTIFICATE REQUEST-----",