Fix whitespace, missing const
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
5f3f0d06e6
commit
e2b772d1b6
2 changed files with 3 additions and 2 deletions
|
@ -304,7 +304,7 @@ int mbedtls_x509write_crt_set_ext_key_usage( mbedtls_x509write_cert *ctx,
|
|||
int ret;
|
||||
size_t len = 0;
|
||||
const mbedtls_asn1_sequence *last_ext = NULL;
|
||||
mbedtls_asn1_sequence *ext;
|
||||
const mbedtls_asn1_sequence *ext;
|
||||
|
||||
memset( buf, 0, sizeof(buf) );
|
||||
|
||||
|
|
|
@ -357,7 +357,8 @@ void x509_crt_check( char *subject_key_file, char *subject_pwd,
|
|||
x.len = MBEDTLS_OID_SIZE(oid); \
|
||||
x.p = (unsigned char*)oid; \
|
||||
x.tag = MBEDTLS_ASN1_OID; \
|
||||
} while( 0 )
|
||||
} \
|
||||
while( 0 )
|
||||
|
||||
if( strcmp( ext_key_usage, "serverAuth" ) == 0 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue