From 69afab58a5518b7f8e90707e3eec9a96f5a7cc9b Mon Sep 17 00:00:00 2001 From: toddouska Date: Tue, 28 Aug 2012 16:46:27 -0700 Subject: [PATCH] don't include stdio.h unless debug output --- ctaocrypt/src/asn.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ctaocrypt/src/asn.c b/ctaocrypt/src/asn.c index 2e23981b6..43eafea04 100644 --- a/ctaocrypt/src/asn.c +++ b/ctaocrypt/src/asn.c @@ -49,6 +49,9 @@ #include #endif +#ifdef CYASSL_DEBUG_ENCODING + #include +#endif #ifdef _MSC_VER /* 4996 warning to use MS extensions e.g., strcpy_s instead of XSTRNCPY */ @@ -1936,8 +1939,8 @@ word32 EncodeSignature(byte* out, const byte* digest, word32 digSz, int hashOID) return encDigSz + algoSz + seqSz; } - -#include + + /* return true (1) for Confirmation */ static int ConfirmSignature(const byte* buf, word32 bufSz, const byte* key, word32 keySz, word32 keyOID,