mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-19 16:49:56 +00:00
Removing whitespaces (to meet sanity checks)
Signed-off-by: toth92g <[email protected]>
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user