From 5fcb19810a0543738196933ea18d2e1b5116343e Mon Sep 17 00:00:00 2001 From: cameronrich Date: Sat, 11 Feb 2012 11:32:48 +0000 Subject: [PATCH] removed diagnostic statement git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@223 9a5d90b5-6617-0410-8a86-bb477d3ed2e3 --- crypto/crypto_misc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/crypto/crypto_misc.c b/crypto/crypto_misc.c index 0902fab05..9d7710d26 100644 --- a/crypto/crypto_misc.c +++ b/crypto/crypto_misc.c @@ -350,11 +350,8 @@ EXP_FUNC int STDCALL base64_decode(const char *in, int len, } /* check that we don't go past the output buffer */ - if (outlen && z >= *outlen) - { - printf("Stuff %d, %d\n", z, *outlen); + if (z >= *outlen) goto error; - } } if (y != 0)