Remove unused fields in method store structure.
authorPauli <paul.dale@oracle.com>
Thu, 3 Oct 2019 09:06:35 +0000 (19:06 +1000)
committerPauli <paul.dale@oracle.com>
Thu, 3 Oct 2019 09:06:35 +0000 (19:06 +1000)
The random bit caching was a residue of earlier code and isn't used any more.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/10089)

crypto/property/property.c

index 0111216057dc44f0cec0e2ed24cc955e37032abe..2089e21d8cf81209d9a3fec1f7f482cc160b1a4e 100644 (file)
@@ -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;
 };