1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-12-24 17:41:01 +03:00

Fix use of uninitialised ret ssl_tls.c

This commit is contained in:
Andres Amaya Garcia
2017-07-20 16:29:16 +01:00
parent 42e5e1084e
commit 3395250f5f

View File

@@ -221,7 +221,7 @@ static int ssl3_prf( const unsigned char *secret, size_t slen,
const unsigned char *random, size_t rlen,
unsigned char *dstbuf, size_t dlen )
{
int ret;
int ret = 0;
size_t i;
mbedtls_md5_context md5;
mbedtls_sha1_context sha1;