Fix X509_get1_ocsp to set num of elements in stack

This commit is contained in:
Eric Blankenhorn
2022-11-21 08:25:46 -06:00
parent 34f8fa797e
commit dee73887b8

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;
}