diff --git a/src/ocsp.c b/src/ocsp.c index 6afb8e458..76c47f186 100644 --- a/src/ocsp.c +++ b/src/ocsp.c @@ -341,6 +341,7 @@ static int CheckResponse(WOLFSSL_OCSP* ocsp, byte* response, int responseSz, } /* Replace existing certificate entry with updated */ + newStatus->next = status->next; XMEMCPY(status, newStatus, sizeof(CertStatus)); } else {