Fix from review

This commit is contained in:
Eric Blankenhorn 2020-11-05 14:47:10 -06:00
parent fa9a0a4b49
commit a92e31f6cb

View File

@ -15193,6 +15193,7 @@ int wc_SetIssuerRaw(Cert* cert, const byte* der, int derSz)
if ((((DecodedCert*)cert->decodedCert)->subjectRaw) &&
(((DecodedCert*)cert->decodedCert)->subjectRawLen <=
(int)sizeof(CertName))) {
/* Copy the subject to the issuer field */
XMEMCPY(cert->issRaw,
((DecodedCert*)cert->decodedCert)->subjectRaw,
((DecodedCert*)cert->decodedCert)->subjectRawLen);