summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--esign.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/esign.cpp b/esign.cpp
index 8b42c1f..f6a526c 100644
--- a/esign.cpp
+++ b/esign.cpp
@@ -158,7 +158,7 @@ Integer InvertibleESIGNFunction::CalculateRandomizedInverse(RandomNumberGenerato
w1 = pq - w1;
}
}
- while ((w1 >> 2*GetK()+1).IsPositive());
+ while ((w1 >> (2*GetK()+1)).IsPositive());
ModularArithmetic modp(m_p);
Integer t = modp.Divide(w0 * r % m_p, m_e * re % m_p);