diff options
-rw-r--r-- | src/entropy/egd/es_egd.cpp | 2 | ||||
-rw-r--r-- | src/pubkey/dsa/dsa_core.cpp | 6 | ||||
-rw-r--r-- | src/pubkey/ecc_key/ecc_key.cpp | 2 | ||||
-rw-r--r-- | src/selftest/selftest.cpp | 2 |
4 files changed, 3 insertions, 9 deletions
diff --git a/src/entropy/egd/es_egd.cpp b/src/entropy/egd/es_egd.cpp index a2e3d3791..9e37f8f17 100644 --- a/src/entropy/egd/es_egd.cpp +++ b/src/entropy/egd/es_egd.cpp @@ -98,7 +98,7 @@ u32bit EGD_EntropySource::EGD_Socket::read(byte outbuf[], u32bit length) return static_cast<u32bit>(count); } - catch(std::exception& e) + catch(std::exception) { this->close(); // Will attempt to reopen next poll diff --git a/src/pubkey/dsa/dsa_core.cpp b/src/pubkey/dsa/dsa_core.cpp index e144d2467..e5a23a5c3 100644 --- a/src/pubkey/dsa/dsa_core.cpp +++ b/src/pubkey/dsa/dsa_core.cpp @@ -13,12 +13,6 @@ namespace Botan { -namespace { - -const u32bit BLINDING_BITS = BOTAN_PRIVATE_KEY_OP_BLINDING_BITS; - -} - /* * DSA_Core Constructor */ diff --git a/src/pubkey/ecc_key/ecc_key.cpp b/src/pubkey/ecc_key/ecc_key.cpp index 9af63bdcd..615efecf1 100644 --- a/src/pubkey/ecc_key/ecc_key.cpp +++ b/src/pubkey/ecc_key/ecc_key.cpp @@ -57,7 +57,7 @@ void EC_PublicKey::X509_load_hook() affirm_init(); mp_public_point->check_invariants(); } - catch(Illegal_Point exc) + catch(Illegal_Point) { throw Decoding_Error("decoded public point was found not to lie on curve"); } diff --git a/src/selftest/selftest.cpp b/src/selftest/selftest.cpp index ea032b04e..d644e866e 100644 --- a/src/selftest/selftest.cpp +++ b/src/selftest/selftest.cpp @@ -173,7 +173,7 @@ bool passes_self_tests(Algorithm_Factory& af) "0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B"))); } } - catch(std::exception& e) + catch(std::exception) { return false; } |