Comment 3 for bug 1093446

Revision history for this message
Legrandin (gooksankoo) wrote :

A fix is available here:

https://github.com/Legrandin/pycrypto/commit/7a720a6cd9254930ea4aa334610393dc9a420213

Now it reads:

allow_wraparound (boolean)
If *True*, the counter will automatically restart from zero after
reaching the maximum value (``2**nbits-1``).
If *False* (default), the object will raise an *OverflowError*.