forked from wolfSSL/wolfssl
move variable declaration before function code
This commit is contained in:
@@ -7919,6 +7919,7 @@ static void PickHashSigAlgo(CYASSL* ssl,
|
|||||||
word32 localSz = MAX_ENCODED_SIG_SZ;
|
word32 localSz = MAX_ENCODED_SIG_SZ;
|
||||||
word32 digestSz;
|
word32 digestSz;
|
||||||
byte* digest;
|
byte* digest;
|
||||||
|
byte doUserEcc = 0;
|
||||||
#ifndef NO_OLD_TLS
|
#ifndef NO_OLD_TLS
|
||||||
/* old tls default */
|
/* old tls default */
|
||||||
digestSz = SHA_DIGEST_SIZE;
|
digestSz = SHA_DIGEST_SIZE;
|
||||||
@@ -7928,7 +7929,6 @@ static void PickHashSigAlgo(CYASSL* ssl,
|
|||||||
digestSz = SHA256_DIGEST_SIZE;
|
digestSz = SHA256_DIGEST_SIZE;
|
||||||
digest = ssl->certHashes.sha256;
|
digest = ssl->certHashes.sha256;
|
||||||
#endif
|
#endif
|
||||||
byte doUserEcc = 0;
|
|
||||||
|
|
||||||
#ifdef HAVE_PK_CALLBACKS
|
#ifdef HAVE_PK_CALLBACKS
|
||||||
#ifdef HAVE_ECC
|
#ifdef HAVE_ECC
|
||||||
|
Reference in New Issue
Block a user