mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-25 00:28:19 +00:00
Allow spaces after the comma when converting X509 names
This commit is contained in:
parent
cdda097507
commit
d4bf870ff5
1 changed files with 3 additions and 0 deletions
|
@ -102,6 +102,9 @@ static int x509write_string_to_names( asn1_named_data **head, char *name )
|
||||||
return( POLARSSL_ERR_X509WRITE_MALLOC_FAILED );
|
return( POLARSSL_ERR_X509WRITE_MALLOC_FAILED );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
while( c < end && *(c + 1) == ' ' )
|
||||||
|
c++;
|
||||||
|
|
||||||
s = c + 1;
|
s = c + 1;
|
||||||
in_tag = 1;
|
in_tag = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue