forked from wolfSSL/wolfssl
When enabling SHOW_SECRETS one of the array counter variables for a
secret had a type mismatch. Changed the index to a word32 to match the boundary variable's type.
This commit is contained in:
@@ -1870,7 +1870,7 @@ static int ProcessClientKeyExchange(const byte* input, int* sslBytes,
|
||||
|
||||
#ifdef SHOW_SECRETS
|
||||
{
|
||||
int i;
|
||||
word32 i;
|
||||
printf("pre master secret: ");
|
||||
for (i = 0; i < session->sslServer->arrays->preMasterSz; i++)
|
||||
printf("%02x", session->sslServer->arrays->preMasterSecret[i]);
|
||||
|
Reference in New Issue
Block a user