Removing whitespaces (to meet sanity checks)

Signed-off-by: toth92g <[email protected]>
This commit is contained in:
toth92g
2023-01-02 20:29:11 +01:00
committed by Przemek Stekiel
parent 1ad84156a8
commit 7e7f606ac7
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1141,7 +1141,7 @@ static int x509_get_crt_ext( unsigned char **p,
}
break;
case MBEDTLS_X509_EXT_SUBJECT_ALT_NAME:
/* Parse subject alt name
/* Parse subject alt name
* SubjectAltName ::= GeneralNames
*/
if( ( ret = x509_get_general_names( p, end_ext_octet,
@@ -2124,7 +2124,7 @@ int mbedtls_x509_parse_general_name( const mbedtls_x509_buf *san_buf,
unsigned char* bufferPointer = san_buf->p;
unsigned char** p = &bufferPointer;
const unsigned char* end = san_buf->p + san_buf->len;
/* The leading ASN1 tag and length has been processed. Stepping back with 2 bytes, because mbedtls_x509_get_name expects the beginning of the SET tag */
*p = *p - 2;
+1 -1
View File
@@ -1468,7 +1468,7 @@ void x509_crt_parse_authoritykeyid( data_t * buf, unsigned int keyIdLength, char
{
TEST_ASSERT( crt.authority_key_id.keyIdentifier.tag == 0 );
TEST_ASSERT( crt.authority_key_id.keyIdentifier.len == 0 );
TEST_ASSERT( crt.authority_key_id.authorityCertSerialNumber.tag == 0 );
TEST_ASSERT( crt.authority_key_id.authorityCertSerialNumber.len == 0 );
}