forked from wolfSSL/wolfssl
make sure Arrays elemets all set to 0
This commit is contained in:
@@ -1636,6 +1636,7 @@ int InitSSL(CYASSL* ssl, CYASSL_CTX* ctx)
|
|||||||
CYASSL_MSG("Arrays Memory error");
|
CYASSL_MSG("Arrays Memory error");
|
||||||
return MEMORY_E;
|
return MEMORY_E;
|
||||||
}
|
}
|
||||||
|
XMEMSET(ssl->arrays, 0, sizeof(Arrays));
|
||||||
|
|
||||||
#ifndef NO_PSK
|
#ifndef NO_PSK
|
||||||
ssl->arrays->client_identity[0] = 0;
|
ssl->arrays->client_identity[0] = 0;
|
||||||
|
Reference in New Issue
Block a user