don't error out on cert name lacking set header

This commit is contained in:
Todd A Ouska
2011-08-01 14:07:38 -07:00
parent 487c2b6e23
commit 44cbf19863

View File

@ -1192,7 +1192,7 @@ static int GetName(DecodedCert* cert, int nameType)
int oidSz;
if (GetSet(cert->source, &cert->srcIdx, &dummy, cert->maxIdx) < 0)
return ASN_PARSE_E;
CYASSL_MSG("Cert name lacks set header, trying sequence");
if (GetSequence(cert->source, &cert->srcIdx, &dummy, cert->maxIdx) < 0)
return ASN_PARSE_E;