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:
2758c44
)
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:51:40 +0000
(10:51 +0000)
committer
Lutz Jänicke
<jaenicke@openssl.org>
Fri, 15 Nov 2002 10:51:40 +0000
(10:51 +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 6507d5db7103761e57a122d4d9b8a1ce27d86f1e..44ad368d0e0855b40c01bd9a1a6d5e3ee8f2f3d8 100644
(file)
--- a/
ssl/s3_clnt.c
+++ b/
ssl/s3_clnt.c
@@
-696,7
+696,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))