Fixed CID 587549.

This commit is contained in:
Radim Smat 2021-03-04 11:16:40 +01:00
parent dbaf545694
commit f056601d26

View File

@ -18298,6 +18298,7 @@ WOLF_STACK_OF(WOLFSSL_X509)* wolfSSL_set_peer_cert_chain(WOLFSSL* ssl)
x509 = wolfSSL_X509_new();
if (x509 == NULL) {
WOLFSSL_MSG("Error Creating X509");
wolfSSL_sk_X509_free(sk);
return NULL;
}
ret = DecodeToX509(x509, ssl->session.chain.certs[i].buffer,