libtommath: remove unnecessary comparison
commitb90732860a4ede602f4df623824c22d623335a9e
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 7 Oct 2013 18:57:03 +0000 (7 13:57 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 7 Oct 2013 18:57:03 +0000 (7 13:57 -0500)
treefe95175377fa996f7cb4356467621e50255073b4
parentc1f822f7af08e2c8cb3ec4908764cfcb7214164c
libtommath: remove unnecessary comparison

As pointed out by Steffen Jaeckel [https://github.com/sjaeckel],
within bn_mp_prime_next_prime() t <= PRIME_SIZE as per the check
at the top of the function.  Remove the unnecessary comparison in
a for loop conditional.

Change-Id: I868bee1a7a019e0ab06bf2b81cc71cf66ca9acff
lib/hcrypto/libtommath/bn_mp_prime_next_prime.c