mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 03:07:29 +02:00
Merge pull request #3618 from haydenroche5/ocsp_self_signed_issue
Modify ParseCertRelative to ensure issuerKeyHash gets parsed and copi…
This commit is contained in:
@ -9910,6 +9910,8 @@ int ParseCertRelative(DecodedCert* cert, int type, int verify, void* cm)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef HAVE_OCSP
|
||||
if (verify != NO_VERIFY && type != CA_TYPE &&
|
||||
type != TRUSTED_PEER_TYPE) {
|
||||
@ -9918,11 +9920,9 @@ int ParseCertRelative(DecodedCert* cert, int type, int verify, void* cm)
|
||||
XMEMCPY(cert->issuerKeyHash, cert->ca->subjectKeyHash,
|
||||
KEYID_SIZE);
|
||||
}
|
||||
|
||||
}
|
||||
#endif /* HAVE_OCSP */
|
||||
}
|
||||
}
|
||||
#if defined(WOLFSSL_RENESAS_TSIP)
|
||||
/* prepare for TSIP TLS cert verification API use */
|
||||
if (cert->keyOID == RSAk) {
|
||||
|
Reference in New Issue
Block a user