From dee73887b85a7305cf4af14ad57f3d507b87f8c0 Mon Sep 17 00:00:00 2001 From: Eric Blankenhorn Date: Mon, 21 Nov 2022 08:25:46 -0600 Subject: [PATCH] Fix X509_get1_ocsp to set num of elements in stack --- src/x509.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/x509.c b/src/x509.c index 78b6c520a..dc0756b6c 100644 --- a/src/x509.c +++ b/src/x509.c @@ -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; }