aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/math
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-19 17:12:21 -0400
committerJack Lloyd <[email protected]>2018-03-19 17:12:21 -0400
commit06b2ba179f548e830e673a0b2d749e6207f70ca9 (patch)
tree886e4375e747e6cb915f8dfa02d23956e3f6dc8b /src/lib/math
parent21fe5f3ba2e8af09469ccf0b78ad11e1b7941c08 (diff)
Remove use of ;; to end lines
Diffstat (limited to 'src/lib/math')
-rw-r--r--src/lib/math/numbertheory/monty_exp.cpp2
-rw-r--r--src/lib/math/numbertheory/nistp_redc.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/math/numbertheory/monty_exp.cpp b/src/lib/math/numbertheory/monty_exp.cpp
index 6f70ef7c6..18fb6d081 100644
--- a/src/lib/math/numbertheory/monty_exp.cpp
+++ b/src/lib/math/numbertheory/monty_exp.cpp
@@ -42,7 +42,7 @@ Montgomery_Exponentation_State::Montgomery_Exponentation_State(std::shared_ptr<c
m_g.reserve(window_size);
- m_g.push_back(Montgomery_Int(m_params, m_params->R1(), false));;
+ m_g.push_back(Montgomery_Int(m_params, m_params->R1(), false));
m_g.push_back(Montgomery_Int(m_params, g));
diff --git a/src/lib/math/numbertheory/nistp_redc.cpp b/src/lib/math/numbertheory/nistp_redc.cpp
index 36135f891..f2782038b 100644
--- a/src/lib/math/numbertheory/nistp_redc.cpp
+++ b/src/lib/math/numbertheory/nistp_redc.cpp
@@ -70,7 +70,7 @@ void redc_p521(BigInt& x, secure_vector<word>& ws)
* Otherwise we must reduce if p is exactly 2^512-1
*/
- word possibly_521 = MP_WORD_MAX;;
+ word possibly_521 = MP_WORD_MAX;
for(size_t i = 0; i != p_full_words; ++i)
possibly_521 &= x.word_at(i);