Fixes build error with new DerBuffer with ASN, ECC and RSA disabled.

This commit is contained in:
David Garske 2016-02-26 15:39:30 +01:00
parent 0c45a7a028
commit 79ef8e232b

View File

@ -2369,7 +2369,9 @@ struct WOLFSSL_X509 {
#ifdef HAVE_ECC
word32 pkCurveOID;
#endif /* HAVE_ECC */
DerBuffer derCert; /* may need */
#ifndef NO_CERTS
DerBuffer derCert; /* may need */
#endif
DNS_entry* altNames; /* alt names list */
DNS_entry* altNamesNext; /* hint for retrieval */
byte dynamicMemory; /* dynamic memory flag */