mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
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
@ -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 New Issue
Block a user