RT3720 Increment session miss counter properly
Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
parent
1e2012b7ff
commit
4f6eaa592a
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue