diff options
author | Lutz Jänicke <jaenicke@openssl.org> | 2002-12-29 20:59:35 +0000 |
---|---|---|
committer | Lutz Jänicke <jaenicke@openssl.org> | 2002-12-29 20:59:35 +0000 |
commit | 21cde7a41c3a365629b0c9d24bb7d86ea5a5a405 (patch) | |
tree | 6deb46d1ba3e76af34d90c8c5f81d258f224b76e /ssl | |
parent | 85982899368cbb0cf561fd24700de3041ff700e1 (diff) | |
download | openssl-21cde7a41c3a365629b0c9d24bb7d86ea5a5a405.tar.gz |
Fix wrong handling of session ID in SSLv2 client code.
PR: 377
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s2_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/s2_clnt.c b/ssl/s2_clnt.c index 0bc04d284e..c6319bb63d 100644 --- a/ssl/s2_clnt.c +++ b/ssl/s2_clnt.c @@ -1014,7 +1014,7 @@ static int get_server_finished(SSL *s) * or bad things can happen */ /* ZZZZZZZZZZZZZ */ s->session->session_id_length=SSL2_SSL_SESSION_ID_LENGTH; - memcpy(s->session->session_id,p,SSL2_SSL_SESSION_ID_LENGTH); + memcpy(s->session->session_id,p+1,SSL2_SSL_SESSION_ID_LENGTH); } else { |