Fix for build with having opensslextra and IGNORE_NAME_CONSTRAINTS

pull/1355/head
Jacob Barthelmeh 2018-02-07 09:54:24 -07:00
parent 172989c3c4
commit a1a1ca9991
1 changed files with 1 additions and 1 deletions

View File

@ -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;