From a1a1ca99912aa9ba2c6b98dd174eade8b84a885f Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Wed, 7 Feb 2018 09:54:24 -0700 Subject: [PATCH] Fix for build with having opensslextra and IGNORE_NAME_CONSTRAINTS --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index 49c214a08..b54432e87 100644 --- a/src/internal.c +++ b/src/internal.c @@ -7647,7 +7647,7 @@ int CopyDecodedToX509(WOLFSSL_X509* x509, DecodedCert* dCert) dCert->weOwnAltNames = 0; x509->altNamesNext = x509->altNames; /* index hint */ -#ifdef OPENSSL_EXTRA +#if defined(OPENSSL_EXTRA) && !defined(IGNORE_NAME_CONSTRAINTS) /* add copies of alternate emails from dCert to X509 */ if (dCert->altEmailNames != NULL) { DNS_entry* cur = dCert->altEmailNames;