mirror of https://github.com/openssl/openssl.git
Fix bug in OPENSSL_LH_flush
Fixes #18139.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18141)
(cherry picked from commit e5da681834)
This commit is contained in:
parent
af5b3af7bd
commit
64c85430f9
|
|
@ -100,6 +100,8 @@ void OPENSSL_LH_flush(OPENSSL_LHASH *lh)
|
|||
}
|
||||
lh->b[i] = NULL;
|
||||
}
|
||||
|
||||
lh->num_items = 0;
|
||||
}
|
||||
|
||||
void *OPENSSL_LH_insert(OPENSSL_LHASH *lh, void *data)
|
||||
|
|
|
|||
Loading…
Reference in New Issue