aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pubkey/mce
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-22 00:05:46 +0200
committerSimon Warta <[email protected]>2015-07-22 00:11:15 +0200
commita2fc9689c297d9f1d5771dd4d662ff0077f9ee5e (patch)
treeae380d04a537448df167fae999f0430906c3d5d0 /src/lib/pubkey/mce
parente6a465940d4bd606826e97e631778684859fa89d (diff)
Silence some extra ';' warnings
Diffstat (limited to 'src/lib/pubkey/mce')
-rw-r--r--src/lib/pubkey/mce/mceliece_key.cpp2
-rw-r--r--src/lib/pubkey/mce/polyn_gf2m.cpp2
2 files changed, 2 insertions, 2 deletions
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)