Merge pull request #5806 from embhorn/zd15177

Fix X509_get1_ocsp to set num of elements in stack
This commit is contained in:
Juliusz Sosinowicz
2022-11-22 12:00:08 +01:00
committed by GitHub

View File

@ -12702,6 +12702,7 @@ WOLF_STACK_OF(WOLFSSL_STRING) *wolfSSL_X509_get1_ocsp(WOLFSSL_X509 *x)
list->data.string = url;
list->next = NULL;
list->num = 1;
return list;
}