make sure Arrays elemets all set to 0

This commit is contained in:
toddouska
2013-12-09 18:21:43 -08:00
parent 276a9c871e
commit 3051c8e900

View File

@@ -1636,6 +1636,7 @@ int InitSSL(CYASSL* ssl, CYASSL_CTX* ctx)
CYASSL_MSG("Arrays Memory error");
return MEMORY_E;
}
XMEMSET(ssl->arrays, 0, sizeof(Arrays));
#ifndef NO_PSK
ssl->arrays->client_identity[0] = 0;