[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Tue Feb 28 14:03:57 UTC 2017
The branch master has been updated
via fa7e9ed3d16c7e713b67a84de9683837610cd318 (commit)
from 44e2d45ffdcda4160d7d36a5b0ee702d0ebad8ac (commit)
- Log -----------------------------------------------------------------
commit fa7e9ed3d16c7e713b67a84de9683837610cd318
Author: Bernd Edlinger <bernd.edlinger at hotmail.de>
Date: Mon Feb 13 13:21:34 2017 +0100
Remove unnecessary memset after PR #2583 avoids accessing
the uninitialized session_id now.
Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Rich Salz <rsalz at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2608)
-----------------------------------------------------------------------
Summary of changes:
ssl/ssl_sess.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/ssl/ssl_sess.c b/ssl/ssl_sess.c
index ddd949d..be3c4c3 100644
--- a/ssl/ssl_sess.c
+++ b/ssl/ssl_sess.c
@@ -501,7 +501,6 @@ int ssl_get_prev_session(SSL *s, CLIENTHELLO_MSG *hello, int *al)
SSL_SESSION data;
data.ssl_version = s->version;
- memset(data.session_id, 0, sizeof(data.session_id));
memcpy(data.session_id, hello->session_id, hello->session_id_len);
data.session_id_length = hello->session_id_len;
More information about the openssl-commits
mailing list