diff options
author | Laszlo Kovacs <lkovacs@akamai.com> | 2015-02-20 14:35:57 -0500 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-06-09 23:34:18 +0100 |
commit | 4f6eaa592a9ab4601b08c74e3386c728c0a830a0 (patch) | |
tree | 844972a2f660574dcb6fe1d1f95d8f200990b346 /ssl | |
parent | 1e2012b7ff4a5f12273446b281775faa5c8a1858 (diff) |
RT3720 Increment session miss counter properly
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/statem/statem_clnt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssl/statem/statem_clnt.c b/ssl/statem/statem_clnt.c index a97f0cc6bf..078349fbb1 100644 --- a/ssl/statem/statem_clnt.c +++ b/ssl/statem/statem_clnt.c @@ -1016,6 +1016,7 @@ MSG_PROCESS_RETURN tls_process_server_hello(SSL *s, PACKET *pkt) * overwritten if the server refuses resumption. */ if (s->session->session_id_length > 0) { + s->ctx->stats.sess_miss++; if (!ssl_get_new_session(s, 0)) { goto f_err; } |