Don't "goto err" in client_master_key because no such label exists;
authorBodo Möller <bodo@openssl.org>
Fri, 21 Jan 2000 11:20:22 +0000 (11:20 +0000)
committerBodo Möller <bodo@openssl.org>
Fri, 21 Jan 2000 11:20:22 +0000 (11:20 +0000)
just return -1 as in other error cases.

ssl/s2_clnt.c

index f813c50..c7ec4c0 100644 (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);
                                }
                        }