Don't "goto err" in client_master_key because no such label exists;

just return -1 as in other error cases.
This commit is contained in:
Bodo Möller 2000-01-21 11:20:22 +00:00
parent af5eb82979
commit af6f388180

View File

@ -567,7 +567,7 @@ static int client_master_key(SSL *s)
if (RAND_bytes(sess->master_key,i) <= 0)
{
ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR);
goto err;
return(-1);
}
}