forked from wolfSSL/wolfssl
Merge pull request #5806 from embhorn/zd15177
Fix X509_get1_ocsp to set num of elements in stack
This commit is contained in:
@ -12702,6 +12702,7 @@ WOLF_STACK_OF(WOLFSSL_STRING) *wolfSSL_X509_get1_ocsp(WOLFSSL_X509 *x)
|
|||||||
|
|
||||||
list->data.string = url;
|
list->data.string = url;
|
||||||
list->next = NULL;
|
list->next = NULL;
|
||||||
|
list->num = 1;
|
||||||
|
|
||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user