diff options
author | Simon Warta <[email protected]> | 2015-07-22 00:05:46 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-07-22 00:11:15 +0200 |
commit | a2fc9689c297d9f1d5771dd4d662ff0077f9ee5e (patch) | |
tree | ae380d04a537448df167fae999f0430906c3d5d0 /src/lib | |
parent | e6a465940d4bd606826e97e631778684859fa89d (diff) |
Silence some extra ';' warnings
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/block/block_utils.h | 5 | ||||
-rw-r--r-- | src/lib/pubkey/mce/mceliece_key.cpp | 2 | ||||
-rw-r--r-- | src/lib/pubkey/mce/polyn_gf2m.cpp | 2 | ||||
-rw-r--r-- | src/lib/tls/msg_server_hello.cpp | 2 |
4 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/block/block_utils.h b/src/lib/block/block_utils.h index dacc79a45..89f8a3dd3 100644 --- a/src/lib/block/block_utils.h +++ b/src/lib/block/block_utils.h @@ -23,11 +23,12 @@ namespace Botan { #define BOTAN_REGISTER_BLOCK_CIPHER_1LEN(name, def) BOTAN_REGISTER_T_1LEN(BlockCipher, name, def) -#define BOTAN_REGISTER_BLOCK_CIPHER_NAMED_NOARGS(type, name) BOTAN_REGISTER_NAMED_T(BlockCipher, name, type, make_new_T<type>) +#define BOTAN_REGISTER_BLOCK_CIPHER_NAMED_NOARGS(type, name) \ + BOTAN_REGISTER_NAMED_T(BlockCipher, name, type, make_new_T<type>) #define BOTAN_REGISTER_BLOCK_CIPHER_NAMED_1LEN(type, name, def) \ BOTAN_REGISTER_NAMED_T(BlockCipher, name, type, (make_new_T_1len<type,def>)) #define BOTAN_REGISTER_BLOCK_CIPHER_NAMED_1STR(type, name, def) \ - BOTAN_REGISTER_NAMED_T(BlockCipher, name, type, std::bind(make_new_T_1str<type>, std::placeholders::_1, def)); + BOTAN_REGISTER_NAMED_T(BlockCipher, name, type, std::bind(make_new_T_1str<type>, std::placeholders::_1, def)) #define BOTAN_REGISTER_BLOCK_CIPHER_NOARGS_IF(cond, type, name, provider, pref) \ BOTAN_COND_REGISTER_NAMED_T_NOARGS(cond, BlockCipher, type, name, provider, pref) diff --git a/src/lib/pubkey/mce/mceliece_key.cpp b/src/lib/pubkey/mce/mceliece_key.cpp index 41392f695..8cda0af89 100644 --- a/src/lib/pubkey/mce/mceliece_key.cpp +++ b/src/lib/pubkey/mce/mceliece_key.cpp @@ -34,7 +34,7 @@ McEliece_PrivateKey::McEliece_PrivateKey(polyn_gf2m const& goppa_polyn, m_codimension(ceil_log2(inverse_support.size()) * goppa_polyn.get_degree()), m_dimension(inverse_support.size() - m_codimension) { - }; + } McEliece_PrivateKey::McEliece_PrivateKey(RandomNumberGenerator& rng, size_t code_length, size_t t) { diff --git a/src/lib/pubkey/mce/polyn_gf2m.cpp b/src/lib/pubkey/mce/polyn_gf2m.cpp index 0f203ec11..35ae8ffee 100644 --- a/src/lib/pubkey/mce/polyn_gf2m.cpp +++ b/src/lib/pubkey/mce/polyn_gf2m.cpp @@ -146,7 +146,7 @@ polyn_gf2m::polyn_gf2m( std::shared_ptr<gf2m_small_m::Gf2m_Field> sp_field ) : m_deg(-1), coeff(1), msp_field(sp_field) - {}; + {} polyn_gf2m::polyn_gf2m(int degree, const unsigned char* mem, u32bit mem_byte_len, std::shared_ptr<gf2m_small_m::Gf2m_Field> sp_field) :msp_field(sp_field) diff --git a/src/lib/tls/msg_server_hello.cpp b/src/lib/tls/msg_server_hello.cpp index 0b352f080..ba7eee3d9 100644 --- a/src/lib/tls/msg_server_hello.cpp +++ b/src/lib/tls/msg_server_hello.cpp @@ -1,4 +1,4 @@ -;/* +/* * TLS Server Hello and Server Hello Done * (C) 2004-2011,2015 Jack Lloyd * |