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:
eaf6c61
)
The pointer to the cipher object is not yet set, when session was reloaded
author
Lutz Jänicke
<jaenicke@openssl.org>
Fri, 15 Nov 2002 10:53:33 +0000
(10:53 +0000)
committer
Lutz Jänicke
<jaenicke@openssl.org>
Fri, 15 Nov 2002 10:53:33 +0000
(10:53 +0000)
from external cache (using d2i_SSL_SESSION). Perform comparison based on
the cipher's id instead.
Submitted by: Steve Haslam <araqnid@innocent.com>
Reviewed by:
PR: 288
ssl/s3_clnt.c
patch
|
blob
|
history
diff --git
a/ssl/s3_clnt.c
b/ssl/s3_clnt.c
index 5e5a409ed2683703f66c6d5ecf70f09e7b40a34c..bc7523cdf143864f15756ff5e062f81e0d432d92 100644
(file)
--- a/
ssl/s3_clnt.c
+++ b/
ssl/s3_clnt.c
@@
-722,7
+722,7
@@
static int ssl3_get_server_hello(SSL *s)
goto f_err;
}
- if (s->hit && (s->session->cipher
!= c
))
+ if (s->hit && (s->session->cipher
_id != c->id
))
{
if (!(s->options &
SSL_OP_NETSCAPE_REUSE_CIPHER_CHANGE_BUG))