aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/asn1/asn1_print.cpp2
-rw-r--r--src/lib/math/numbertheory/monty_exp.cpp2
-rw-r--r--src/lib/math/numbertheory/nistp_redc.cpp2
-rw-r--r--src/lib/misc/srp6/srp6.cpp2
-rw-r--r--src/lib/x509/x509_ca.cpp2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/asn1/asn1_print.cpp b/src/lib/asn1/asn1_print.cpp
index 13ae6d387..cb223e130 100644
--- a/src/lib/asn1/asn1_print.cpp
+++ b/src/lib/asn1/asn1_print.cpp
@@ -236,7 +236,7 @@ void ASN1_Formatter::decode(std::ostream& output,
else
{
output << "Unknown ASN.1 tag class=" << static_cast<int>(class_tag)
- << " type=" << static_cast<int>(type_tag) << "\n";;
+ << " type=" << static_cast<int>(type_tag) << "\n";
}
obj = decoder.get_next_object();
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);
diff --git a/src/lib/misc/srp6/srp6.cpp b/src/lib/misc/srp6/srp6.cpp
index 213fdc533..bf5c6ac93 100644
--- a/src/lib/misc/srp6/srp6.cpp
+++ b/src/lib/misc/srp6/srp6.cpp
@@ -137,7 +137,7 @@ BigInt SRP6_Server_Session::step1(const BigInt& v,
const BigInt k = hash_seq(hash_id, m_p_bytes, p, g);
- m_B = group.mod_p(v*k + group.power_g_p(m_b));;
+ m_B = group.mod_p(v*k + group.power_g_p(m_b));
return m_B;
}
diff --git a/src/lib/x509/x509_ca.cpp b/src/lib/x509/x509_ca.cpp
index 19eec1210..73eea4a95 100644
--- a/src/lib/x509/x509_ca.cpp
+++ b/src/lib/x509/x509_ca.cpp
@@ -208,7 +208,7 @@ X509_Certificate X509_CA::make_cert(PK_Signer* signer,
.end_explicit()
.end_cons()
.get_contents()
- ));;
+ ));
// clang-format on
}