projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af5eb82
)
Don't "goto err" in client_master_key because no such label exists;
author
Bodo Möller
<bodo@openssl.org>
Fri, 21 Jan 2000 11:20:22 +0000
(11:20 +0000)
committer
Bodo 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
patch
|
blob
|
history
diff --git
a/ssl/s2_clnt.c
b/ssl/s2_clnt.c
index f813c504fed215947174a0094781f8747fdc6e77..c7ec4c07d176fc1c1f3afbfa919a397cd02b171c 100644
(file)
--- a/
ssl/s2_clnt.c
+++ b/
ssl/s2_clnt.c
@@
-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)
;
}
}