Support escaping of commas in x509_string_to_names()

This commit is contained in:
Paul Bakker 2014-08-08 12:22:30 +02:00 committed by Manuel Pégourié-Gonnard
parent 333fdeca3a
commit 8dcb2d7d7e
6 changed files with 98 additions and 4 deletions

View file

@ -750,7 +750,7 @@ int x509_dn_gets( char *buf, size_t size, const x509_name *dn )
unsigned char c;
const x509_name *name;
const char *short_name = NULL;
char s[128], *p;
char s[X509_MAX_DN_NAME_SIZE], *p;
memset( s, 0, sizeof( s ) );