Skip to content

Commit f1715dd

Browse files
committed
fixup
1 parent 65ab671 commit f1715dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/internal.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,8 @@ int writeAeadAuthData(WOLFSSL* ssl, word16 sz, byte type, byte* additional,
211211
static int _DtlsCheckWindow(WOLFSSL* ssl);
212212
#endif
213213

214-
#if defined(__APPLE__) && defined(WOLFSSL_SYS_CA_CERTS)
214+
#if defined(__APPLE__) && defined(WOLFSSL_SYS_CA_CERTS) && \
215+
(!defined(NO_WOLFSSL_CLIENT) || !defined(WOLFSSL_NO_CLIENT_AUTH))
215216
#include <Security/SecCertificate.h>
216217
#include <Security/SecTrust.h>
217218
#include <Security/SecPolicy.h>

0 commit comments

Comments
 (0)