Minor style improvement
Co-authored-by: Hanno Becker <hanno.becker@arm.com> Signed-off-by: Nicola Di Lieto <nicola.dilieto@gmail.com>
This commit is contained in:
parent
4dbe5676af
commit
2c3a917393
1 changed files with 4 additions and 3 deletions
|
@ -957,7 +957,8 @@ static int x509_get_crt_ext( unsigned char **p,
|
|||
if( ret != 0 )
|
||||
{
|
||||
/* Give the callback (if any) a chance to handle the extension */
|
||||
if( cb != NULL ) {
|
||||
if( cb != NULL )
|
||||
{
|
||||
ret = cb( crt, &extn_oid, is_critical, *p, end_ext_octet );
|
||||
if( ret != 0 )
|
||||
return( MBEDTLS_ERR_X509_INVALID_EXTENSIONS + ret );
|
||||
|
|
Loading…
Reference in a new issue