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

13 lines
459 B
Plaintext

$OpenBSD: patch-algebra_cpp,v 1.1 2012/02/29 12:46:30 dcoppa Exp $
--- algebra.cpp.orig Fri Aug 6 18:44:32 2010
+++ algebra.cpp Wed Feb 29 10:09:08 2012
@@ -58,7 +58,7 @@ template <class T> const T& AbstractEuclideanDomain<T>
Element g[3]={b, a};
unsigned int i0=0, i1=1, i2=2;
- while (!Equal(g[i1], this->Identity()))
+ while (!this->Equal(g[i1], this->Identity()))
{
g[i2] = Mod(g[i0], g[i1]);
unsigned int t = i0; i0 = i1; i1 = i2; i2 = t;