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:
John Safranek
2019-08-30 17:13:08 -07:00
parent 841e469340
commit 1b057df610

View File

@@ -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]);