bn/bn_mont.c: move boundary condition check closer to caller.
authorAndy Polyakov <appro@openssl.org>
Fri, 6 Jul 2018 11:46:07 +0000 (13:46 +0200)
committerAndy Polyakov <appro@openssl.org>
Thu, 12 Jul 2018 13:08:28 +0000 (15:08 +0200)
commit308447e3bdacd9ed55d5f8c4dd266d6aa75aab2b
tree4564c2a704df87b70b91cdab476f0bdb078c0a67
parentcc1fef6308ec6cb8ba6c00b20e4a8014d7847db2
bn/bn_mont.c: move boundary condition check closer to caller.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: David Benjamin <davidben@google.com>
(Merged from https://github.com/openssl/openssl/pull/6662)

(cherry picked from commit 3c97e4121ecec20cfac433883cd4709580a05620)
crypto/bn/bn_mont.c