Skip to content

Commit 1afbf55

Browse files
ColtonWilleydouzzer
authored andcommitted
Fix new build error after refactor
1 parent 6607314 commit 1afbf55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/x509_str.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,7 @@ WOLFSSL_X509_STORE* wolfSSL_X509_STORE_new(void)
10111011
return NULL;
10121012
}
10131013

1014+
#ifdef OPENSSL_ALL
10141015
static void X509StoreFreeObjList(WOLFSSL_X509_STORE* store,
10151016
WOLF_STACK_OF(WOLFSSL_X509_OBJECT)* objs)
10161017
{
@@ -1032,6 +1033,7 @@ static void X509StoreFreeObjList(WOLFSSL_X509_STORE* store,
10321033

10331034
wolfSSL_sk_X509_OBJECT_pop_free(objs, NULL);
10341035
}
1036+
#endif
10351037

10361038
void wolfSSL_X509_STORE_free(WOLFSSL_X509_STORE* store)
10371039
{

0 commit comments

Comments
 (0)