Allow spaces after the comma when converting X509 names

This commit is contained in:
Paul Bakker 2013-09-09 13:59:11 +02:00
parent cdda097507
commit d4bf870ff5

View file

@ -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;
} }