Merge pull request #1355 from JacobBarthelmeh/Testing

Fix for build with having opensslextra and IGNORE_NAME_CONSTRAINTS
This commit is contained in:
David Garske 2018-02-07 11:12:55 -08:00 committed by GitHub
commit e1c246f918
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;