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;