From a7acacff41bfefa3cf3890bbd3036b2bb8e65418 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Tue, 2 Jul 2019 14:37:33 -0600 Subject: [PATCH] remove HAVE_CRL macro guard from X509 PEM write function --- src/ssl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ssl.c b/src/ssl.c index 942e059ba..82ccd0b8e 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -30539,7 +30539,7 @@ void* wolfSSL_GetDhAgreeCtx(WOLFSSL* ssl) return x509; } -#if defined(HAVE_CRL) && !defined(NO_FILESYSTEM) +#if !defined(NO_FILESYSTEM) static void* wolfSSL_PEM_read_X509_ex(XFILE fp, void **x, pem_password_cb *cb, void *u, int type) { @@ -30656,7 +30656,7 @@ void* wolfSSL_GetDhAgreeCtx(WOLFSSL* ssl) return ret; } -#endif +#endif /* !NO_FILESYSTEM */ #define PEM_BEGIN "-----BEGIN " #define PEM_BEGIN_SZ 11