diff --git a/modarith.h b/modarith.h index bd68f012..84ceba57 100644 --- a/modarith.h +++ b/modarith.h @@ -33,9 +33,9 @@ CRYPTOPP_DLL_TEMPLATE_CLASS AbstractEuclideanDomain; /// only one such data member for holding results, you should use the /// class like this: ///
    abcd = group.Add(a, group.Add(b, group.Add(c,d));
-/// The following code will produce incorrect results: +/// The following code will produce incorrect results: ///
    abcd = group.Add(group.Add(a,b), group.Add(c,d));
-/// \details If a ModularArithmetic is copied or assigned the modulus +/// \details If a ModularArithmetic() is copied or assigned the modulus /// is copied, but not the internal data members. The internal data /// members are undefined after copy or assignment. /// \sa Integer on the diff --git a/pubkey.h b/pubkey.h index 6a43a872..2dbfeb95 100644 --- a/pubkey.h +++ b/pubkey.h @@ -1680,7 +1680,7 @@ public: const DL_ElgamalLikeSignatureAlgorithm &alg = this->GetSignatureAlgorithm(); const DL_GroupParameters ¶ms = this->GetAbstractGroupParameters(); - size_t rLen = alg.RLen(params); + const size_t rLen = alg.RLen(params); ma.m_semisignature.Assign(signature, rLen); ma.m_s.Decode(signature+rLen, alg.SLen(params));