From 90f97f4a5a55a8ffebb6b58f037ca152e9168e6e Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Wed, 21 Mar 2018 09:16:43 -0600 Subject: [PATCH] fix for unused variable --- wolfcrypt/src/asn.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 9c04d6513..4d6e79bbb 100755 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -1211,7 +1211,9 @@ static const byte extExtKeyUsageOid[] = {85, 29, 37}; static const byte extNameConsOid[] = {85, 29, 30}; /* certAuthInfoType */ -static const byte extAuthInfoOcspOid[] = {43, 6, 1, 5, 5, 7, 48, 1}; +#ifdef HAVE_OCSP + static const byte extAuthInfoOcspOid[] = {43, 6, 1, 5, 5, 7, 48, 1}; +#endif static const byte extAuthInfoCaIssuerOid[] = {43, 6, 1, 5, 5, 7, 48, 2}; /* certPolicyType */