From 081a3a57d494ec709f34f42e3af93a6669551913 Mon Sep 17 00:00:00 2001 From: John Safranek Date: Fri, 23 Aug 2013 10:26:42 -0700 Subject: [PATCH] move variable declaration before function code --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index dd452d6d8..708a6344c 100644 --- a/src/internal.c +++ b/src/internal.c @@ -7919,6 +7919,7 @@ static void PickHashSigAlgo(CYASSL* ssl, word32 localSz = MAX_ENCODED_SIG_SZ; word32 digestSz; byte* digest; + byte doUserEcc = 0; #ifndef NO_OLD_TLS /* old tls default */ digestSz = SHA_DIGEST_SIZE; @@ -7928,7 +7929,6 @@ static void PickHashSigAlgo(CYASSL* ssl, digestSz = SHA256_DIGEST_SIZE; digest = ssl->certHashes.sha256; #endif - byte doUserEcc = 0; #ifdef HAVE_PK_CALLBACKS #ifdef HAVE_ECC