fix shadow declaration warning

This commit is contained in:
Jacob Barthelmeh 2017-08-09 11:58:29 -06:00
parent d195009dcb
commit 219fcde773
1 changed files with 1 additions and 1 deletions

View File

@ -2618,7 +2618,7 @@ int DoTls13ServerHello(WOLFSSL* ssl, const byte* input, word32* inOutIdx,
#ifdef HAVE_SECRET_CALLBACK
if (ssl->sessionSecretCb != NULL) {
int secretSz = SECRET_LEN, ret;
int secretSz = SECRET_LEN;
ret = ssl->sessionSecretCb(ssl, ssl->session.masterSecret,
&secretSz, ssl->sessionSecretCtx);
if (ret != 0 || secretSz != SECRET_LEN)