From 92587651c9e06d31e80996f30850e2aeb8b42102 Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Fri, 10 Mar 2017 15:31:51 -0700 Subject: [PATCH] variable i is not used when WOLFSSL_SEP is enabled --- wolfcrypt/src/asn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wolfcrypt/src/asn.c b/wolfcrypt/src/asn.c index 7c0569296..a6d40a2d8 100644 --- a/wolfcrypt/src/asn.c +++ b/wolfcrypt/src/asn.c @@ -5105,7 +5105,8 @@ static int DecodePolicyOID(char *out, word32 outSz, byte *in, word32 inSz) { word32 idx = 0; int total_length = 0, policy_length = 0, length = 0; - #if defined(WOLFSSL_CERT_EXT) && !defined(WOLFSSL_DUP_CERTPOL) + #if !defined(WOLFSSL_SEP) && defined(WOLFSSL_CERT_EXT) && \ + !defined(WOLFSSL_DUP_CERTPOL) int i; #endif