mirror of https://github.com/wolfSSL/wolfssl
Merge pull request #1355 from JacobBarthelmeh/Testing
Fix for build with having opensslextra and IGNORE_NAME_CONSTRAINTS
This commit is contained in:
commit
e1c246f918
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue