From 29be6c8361aa1c898de6b98ad72fd2ccb6280441 Mon Sep 17 00:00:00 2001 From: Pauli Date: Thu, 3 Oct 2019 19:06:35 +1000 Subject: [PATCH] Remove unused fields in method store structure. The random bit caching was a residue of earlier code and isn't used any more. Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/10089) --- crypto/property/property.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto/property/property.c b/crypto/property/property.c index 0111216057..2089e21d8c 100644 --- a/crypto/property/property.c +++ b/crypto/property/property.c @@ -53,8 +53,6 @@ struct ossl_method_store_st { SPARSE_ARRAY_OF(ALGORITHM) *algs; OSSL_PROPERTY_LIST *global_properties; int need_flush; - unsigned int nbits; - unsigned char rand_bits[(IMPL_CACHE_FLUSH_THRESHOLD + 7) / 8]; CRYPTO_RWLOCK *lock; }; -- 2.25.1