From: Pauli Date: Thu, 3 Oct 2019 09:06:35 +0000 (+1000) Subject: Remove unused fields in method store structure. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29be6c8361aa1c898de6b98ad72fd2ccb6280441;p=openssl 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) --- 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; };