mirror of
https://github.com/openssl/openssl.git
synced 2026-05-07 20:12:39 +00:00
0c3ffa04a7
Treat method-cache hash table inserts as successful only when they return 1. This handles allocation/grow failures distinctly from successful replacement and avoids using temporary QUERY entries after failed insertion. Separate cleanup for unlinked temporary QUERY objects from linked cache entries, and release both the pending cache reference and caller-visible method reference when deferred providerless cache insertion fails. Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Neil Horman <nhorman@openssl.org> MergeDate: Tue Apr 28 06:33:15 2026 (Merged from https://github.com/openssl/openssl/pull/30891)