summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pubkey.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pubkey.h b/pubkey.h
index 51890893..c1ce63d8 100644
--- a/pubkey.h
+++ b/pubkey.h
@@ -1719,8 +1719,8 @@ public:
const DL_GroupParameters<T> &params = this->GetAbstractGroupParameters();
// Validation due to https://github.com/weidai11/cryptopp/issues/981
- // We allow a caller to provide R and S in oversized buffer. R and S are
- // read based on the field element size, and not the buffer size.
+ // We allow a caller to provide R and S in oversized buffer. R and S
+ // are read based on the field element size, and not the buffer size.
const size_t rLen = alg.RLen(params);
const size_t sLen = alg.SLen(params);
CRYPTOPP_ASSERT(signatureLength >= rLen + sLen);