forked from wolfSSL/wolfssl
don't error out on cert name lacking set header
This commit is contained in:
@ -1192,7 +1192,7 @@ static int GetName(DecodedCert* cert, int nameType)
|
|||||||
int oidSz;
|
int oidSz;
|
||||||
|
|
||||||
if (GetSet(cert->source, &cert->srcIdx, &dummy, cert->maxIdx) < 0)
|
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)
|
if (GetSequence(cert->source, &cert->srcIdx, &dummy, cert->maxIdx) < 0)
|
||||||
return ASN_PARSE_E;
|
return ASN_PARSE_E;
|
||||||
|
Reference in New Issue
Block a user