[openssl/openssl] f454c8: Fix refcounting for ENCODER/DECODER/STORE methods ...
"'Neil Horman' via openssl-commits" <[email protected]> Mon, 13 Jul 2026 22:24:35 -0700
| Newsgroups | gmane.comp.encryption.openssl.cvs |
|---|---|
| Message-ID | <openssl/openssl/push/refs/heads/master/[email protected]> |
Branch: refs/heads/master
Home: https://github.com/openssl/openssl
Commit: f454c8fd5d97b80f431dba16b8deacad6b69cbfd
https://github.com/openssl/openssl/commit/f454c8fd5d97b80f431dba16b8deacad6b69cbfd
Author: Neil Horman <[email protected]>
Date: 2026-07-14 (Tue, 14 Jul 2026)
Changed paths:
M crypto/encode_decode/decoder_meth.c
M crypto/encode_decode/encoder_meth.c
M crypto/store/store_meth.c
Log Message:
-----------
Fix refcounting for ENCODER/DECODER/STORE methods without caching
https://github.com/openssl/openssl/pull/31782
Fixed method refcounting for EVP objects when the provider they are
fetched from requests no-caching, but I neglected to add simmilar
refcounting fixes for DECODERS/ENCODERS and STORE objects, who follow a
different fetch path (these use inner_[decoder|encoder|loader]_fetch
rather than inner_evp_generic_fetch.
They got missed because the p_ossltest provider that we use to test
these paths don't provide these objects, so the path never got
exercised.
Reviewed-by: Bob Beck <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
MergeDate: Tue Jul 14 05:21:36 2026
(Merged from https://github.com/openssl/openssl/pull/31844)
Commit: ac946a80d56672ad783f7239056357b11730e72d
https://github.com/openssl/openssl/commit/ac946a80d56672ad783f7239056357b11730e72d
Author: Neil Horman <[email protected]>
Date: 2026-07-14 (Tue, 14 Jul 2026)
Changed paths:
M test/p_ossltest.c
Log Message:
-----------
ugment p_ossltest with encoder/decoder/store algs
Create dummy encoder/decoder and store algs in p_ossltest.
They do nothing, except return algorithms on query. This allows our
unit test 30-test_evp_list_noncache.t to exercise the refcounting of
these objects when the provider requests no caching
Reviewed-by: Bob Beck <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
MergeDate: Tue Jul 14 05:21:38 2026
(Merged from https://github.com/openssl/openssl/pull/31844)
Compare: https://github.com/openssl/openssl/compare/626ff8fd9344...ac946a80d566
To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications
--
You received this message because you are subscribed to the Google Groups "openssl-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/a/openssl.org/d/msgid/openssl-commits/openssl/openssl/push/refs/heads/master/626ff8-ac946a%40github.com.