openbsd-ports/devel/cryptopp/patches/patch-modarith_h

13 lines
608 B
Plaintext
Raw Normal View History

$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