forked from wolfSSL/wolfssl
Fix for build with having opensslextra and IGNORE_NAME_CONSTRAINTS
This commit is contained in:
@ -7647,7 +7647,7 @@ int CopyDecodedToX509(WOLFSSL_X509* x509, DecodedCert* dCert)
|
|||||||
dCert->weOwnAltNames = 0;
|
dCert->weOwnAltNames = 0;
|
||||||
x509->altNamesNext = x509->altNames; /* index hint */
|
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 */
|
/* add copies of alternate emails from dCert to X509 */
|
||||||
if (dCert->altEmailNames != NULL) {
|
if (dCert->altEmailNames != NULL) {
|
||||||
DNS_entry* cur = dCert->altEmailNames;
|
DNS_entry* cur = dCert->altEmailNames;
|
||||||
|
Reference in New Issue
Block a user