openbsd-ports/devel/cryptopp/patches/patch-modarith_h
dcoppa 6a1ea1cc3c Update to cryptopp-5.6.1
'go for it' espie@
2011-06-24 07:55:17 +00:00

13 lines
608 B
Plaintext

$OpenBSD: patch-modarith_h,v 1.2 2011/06/24 07:55:18 dcoppa Exp $
--- modarith.h.orig Wed Jun 18 13:44:33 2008
+++ modarith.h Fri Jun 20 13:58:36 2008
@@ -27,7 +27,7 @@ class CRYPTOPP_DLL ModularArithmetic : public Abstract
: m_modulus(modulus), m_result((word)0, modulus.reg.size()) {}
ModularArithmetic(const ModularArithmetic &ma)
- : m_modulus(ma.m_modulus), m_result((word)0, m_modulus.reg.size()) {}
+ : AbstractRing<Integer>(ma), m_modulus(ma.m_modulus), m_result((word)0, m_modulus.reg.size()) {}
ModularArithmetic(BufferedTransformation &bt); // construct from BER encoded parameters