From: Thomas Pornin Date: Sun, 30 Jul 2017 18:11:45 +0000 (-0400) Subject: Fixed br_ssl_session_cache_lru_forget(). X-Git-Tag: v0.5~2 X-Git-Url: https://bearssl.org/gitweb//home/git/?a=commitdiff_plain;h=ce1c57909a1b089f1f9a5edafcc76d1b5f8139fc;p=BearSSL Fixed br_ssl_session_cache_lru_forget(). --- diff --git a/src/ssl/ssl_lru.c b/src/ssl/ssl_lru.c index 7a2036b..4c71011 100644 --- a/src/ssl/ssl_lru.c +++ b/src/ssl/ssl_lru.c @@ -530,7 +530,7 @@ void br_ssl_session_cache_lru_forget( * so this is not worth the extra code size. */ mask_id(cc, id, mid); - addr = find_node(cc, id, NULL); + addr = find_node(cc, mid, NULL); if (addr != ADDR_NULL) { br_enc16be(cc->store + addr + VERSION_OFF, 0); }