Add the ability for ex_data to have a priority
authorMatt Caswell <matt@openssl.org>
Mon, 26 Apr 2021 10:35:17 +0000 (11:35 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 11 May 2021 13:56:55 +0000 (14:56 +0100)
commita16d21744df686a7c005d1f129915d9083476e14
tree1ea4d25a974b2f7cfcaafe65a03f9557b8ddc780
parentd07af736de592602f2831f8559d0302cb116e190
Add the ability for ex_data to have a priority

Where an object has multiple ex_data associated with it, then we free that
ex_data in order of priority (high priority first).

Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14991)
21 files changed:
crypto/bio/bss_core.c
crypto/context.c
crypto/core_namemap.c
crypto/encode_decode/decoder_meth.c
crypto/encode_decode/encoder_meth.c
crypto/evp/evp_fetch.c
crypto/ex_data.c
crypto/initthread.c
crypto/property/defn_cache.c
crypto/property/property.c
crypto/property/property_string.c
crypto/provider_conf.c
crypto/provider_core.c
crypto/rand/rand_lib.c
crypto/self_test_core.c
crypto/store/store_meth.c
include/internal/cryptlib.h
providers/fips/fipsprov.c
providers/implementations/rands/crngt.c
providers/implementations/rands/drbg.c
test/context_internal_test.c