From f95cd9245d2e889a756b187452dafaf68e795179 Mon Sep 17 00:00:00 2001 From: Daniel Neus Date: Mon, 11 Jan 2016 11:55:42 +0100 Subject: Remaining cppcheck fixes that are not covered by GH #444 --- src/lib/pubkey/blinding.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/lib/pubkey/blinding.cpp') diff --git a/src/lib/pubkey/blinding.cpp b/src/lib/pubkey/blinding.cpp index 4a5c5acff..b20a30fa1 100644 --- a/src/lib/pubkey/blinding.cpp +++ b/src/lib/pubkey/blinding.cpp @@ -19,11 +19,8 @@ namespace Botan { Blinder::Blinder(const BigInt& modulus, std::function fwd, std::function inv) : - m_fwd_fn(fwd), m_inv_fn(inv) + m_reducer{Modular_Reducer(modulus)}, m_rng{}, m_fwd_fn(fwd), m_inv_fn(inv), m_modulus_bits{modulus.bits()}, m_e{}, m_d{}, m_counter{} { - m_reducer = Modular_Reducer(modulus); - m_modulus_bits = modulus.bits(); - #if defined(BOTAN_HAS_SYSTEM_RNG) m_rng.reset(new System_RNG); #else -- cgit v1.2.3