Skip to content
Commit 7d79d13a authored by Shane Lontis's avatar Shane Lontis Committed by Pauli
Browse files

Fixed range of random produced in BN_is_prime_fasttest_ex() to be 1 < rand <...


Fixed range of random produced in BN_is_prime_fasttest_ex() to be 1 < rand < w-1. It was using 1<= rand < w (which is wrong by 1 on both ends)

Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6547)
parent b8c32081
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