don't include stdio.h unless debug output

This commit is contained in:
toddouska 2012-08-28 16:46:27 -07:00
parent bdac618c3a
commit 69afab58a5

View File

@ -49,6 +49,9 @@
#include <cyassl/ctaocrypt/ecc.h>
#endif
#ifdef CYASSL_DEBUG_ENCODING
#include <stdio.h>
#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 <stdio.h>
/* return true (1) for Confirmation */
static int ConfirmSignature(const byte* buf, word32 bufSz,
const byte* key, word32 keySz, word32 keyOID,