Skip to content
Commit 9dde17e8 authored by Geoff Thorpe's avatar Geoff Thorpe
Browse files

This rewrites two "for" loops in BN_rshift() - equality with zero is

generally a more efficient comparison than comparing two integers, and the
first of these two loops was off-by-one (copying one too many values). This
change also removes a superfluous assignment that would set an unused word
to zero (and potentially allow an overrun in some cases).

Submitted by: Nils Larsch
Reviewed by: Geoff Thorpe
parent 37af03d3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment