Fix code style
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
32e20919ac
commit
36ad5e7ab5
1 changed files with 6 additions and 6 deletions
|
@ -119,8 +119,8 @@ static int x509_csr_parse_extensions(mbedtls_x509_csr *csr,
|
||||||
if (ret == 0) {
|
if (ret == 0) {
|
||||||
/* Forbid repeated extensions */
|
/* Forbid repeated extensions */
|
||||||
if ((csr->ext_types & ext_type) != 0) {
|
if ((csr->ext_types & ext_type) != 0) {
|
||||||
return (MBEDTLS_ERROR_ADD(MBEDTLS_ERR_X509_INVALID_EXTENSIONS,
|
return MBEDTLS_ERROR_ADD(MBEDTLS_ERR_X509_INVALID_EXTENSIONS,
|
||||||
MBEDTLS_ERR_ASN1_INVALID_DATA));
|
MBEDTLS_ERR_ASN1_INVALID_DATA);
|
||||||
}
|
}
|
||||||
|
|
||||||
csr->ext_types |= ext_type;
|
csr->ext_types |= ext_type;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue