forked from wolfSSL/wolfssl
only store issuer into issuerRaw
This commit is contained in:
@@ -1618,8 +1618,10 @@ static int GetName(DecodedCert* cert, int nameType)
|
|||||||
|
|
||||||
#ifdef HAVE_PKCS7
|
#ifdef HAVE_PKCS7
|
||||||
/* store pointer to raw issuer */
|
/* store pointer to raw issuer */
|
||||||
|
if (nameType == ISSUER) {
|
||||||
cert->issuerRaw = &cert->source[cert->srcIdx];
|
cert->issuerRaw = &cert->source[cert->srcIdx];
|
||||||
cert->issuerRawLen = length - cert->srcIdx;
|
cert->issuerRawLen = length - cert->srcIdx;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
while (cert->srcIdx < (word32)length) {
|
while (cert->srcIdx < (word32)length) {
|
||||||
|
Reference in New Issue
Block a user