mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-03 04:34:41 +02:00
fix case of copying over status to existing struct
This commit is contained in:
@@ -363,7 +363,7 @@ int CheckOcspResponse(WOLFSSL_OCSP *ocsp, byte *response, int responseSz,
|
|||||||
|
|
||||||
/* Replace existing certificate entry with updated */
|
/* Replace existing certificate entry with updated */
|
||||||
newSingle->status->next = status->next;
|
newSingle->status->next = status->next;
|
||||||
XMEMCPY(status, newSingle->status, sizeof(CertStatus));
|
XMEMCPY(status, ocspResponse->single->status, sizeof(CertStatus));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* Save new certificate entry */
|
/* Save new certificate entry */
|
||||||
|
Reference in New Issue
Block a user