From: Pauli Date: Thu, 3 Oct 2019 09:06:35 +0000 (+1000) Subject: Remove unused fields in method store structure. X-Git-Tag: openssl-3.0.0-alpha1~1210 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29be6c8361aa1c898de6b98ad72fd2ccb6280441;p=thirdparty%2Fopenssl.git 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 0111216057d..2089e21d8cf 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; };