diff options
| author | Jacques Vidrine <nectar@FreeBSD.org> | 2003-02-19 23:24:16 +0000 |
|---|---|---|
| committer | Jacques Vidrine <nectar@FreeBSD.org> | 2003-02-19 23:24:16 +0000 |
| commit | def0b8c9c53e9ec94c6845b40e6f562268a28a63 (patch) | |
| tree | 2948ffd23bfeeecbdc69292dd5e77ea732e29795 /crypto/openssl/ssl/s2_clnt.c | |
| parent | 015ec3c905309d93aded0cb5fd0ab620cb881e07 (diff) | |
Notes
Diffstat (limited to 'crypto/openssl/ssl/s2_clnt.c')
| -rw-r--r-- | crypto/openssl/ssl/s2_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/openssl/ssl/s2_clnt.c b/crypto/openssl/ssl/s2_clnt.c index c6319bb63da6..1d24dedc918b 100644 --- a/crypto/openssl/ssl/s2_clnt.c +++ b/crypto/openssl/ssl/s2_clnt.c @@ -1021,7 +1021,7 @@ static int get_server_finished(SSL *s) if (!(s->options & SSL_OP_MICROSOFT_SESS_ID_BUG)) { if ((s->session->session_id_length > sizeof s->session->session_id) - || (0 != memcmp(buf, s->session->session_id, + || (0 != memcmp(buf + 1, s->session->session_id, (unsigned int)s->session->session_id_length))) { ssl2_return_error(s,SSL2_PE_UNDEFINED_ERROR); |
