Merge pull request #2325 from JacobBarthelmeh/Testing

remove HAVE_CRL macro guard from X509 PEM write function
This commit is contained in:
toddouska
2019-07-08 12:57:15 -07:00
committed by GitHub

View File

@ -30603,7 +30603,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)
{
@ -30720,7 +30720,7 @@ void* wolfSSL_GetDhAgreeCtx(WOLFSSL* ssl)
return ret;
}
#endif
#endif /* !NO_FILESYSTEM */
#define PEM_BEGIN "-----BEGIN "
#define PEM_BEGIN_SZ 11