mirror of
https://github.com/cuberite/polarssl.git
synced 2025-10-03 10:34:16 -04:00
Fix code style
Signed-off-by: Przemek Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
294ec1274d
commit
725688b143
@ -672,7 +672,8 @@ static int x509_get_authority_key_id(unsigned char **p,
|
|||||||
if (*p < end) {
|
if (*p < end) {
|
||||||
/* Getting authorityCertSerialNumber using the required specific class tag [2] */
|
/* Getting authorityCertSerialNumber using the required specific class tag [2] */
|
||||||
if ((ret = mbedtls_asn1_get_tag(p, end, &len,
|
if ((ret = mbedtls_asn1_get_tag(p, end, &len,
|
||||||
MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_INTEGER | 2)) !=
|
MBEDTLS_ASN1_CONTEXT_SPECIFIC | MBEDTLS_ASN1_INTEGER |
|
||||||
|
2)) !=
|
||||||
0) {
|
0) {
|
||||||
/* authorityCertSerialNumber is an OPTIONAL field */
|
/* authorityCertSerialNumber is an OPTIONAL field */
|
||||||
return MBEDTLS_ERROR_ADD(MBEDTLS_ERR_X509_INVALID_EXTENSIONS, ret);
|
return MBEDTLS_ERROR_ADD(MBEDTLS_ERR_X509_INVALID_EXTENSIONS, ret);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user