diff options
author | David Benjamin <davidben@chromium.org> | 2015-02-11 09:16:26 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-02-11 22:31:01 +0300 |
commit | c9a202fee3632be4cb133996993949bdec548035 (patch) | |
tree | 762e03c99e20e0ae1f2045117343766fd5690ab8 /crypto/bn/gcd.c | |
parent | efec193d27e81cc4d25d0b04c89d4d0c155fcccf (diff) |
Add in missing curly braces part 1.
Everything before crypto/ec.
Change-Id: Icbfab8e4ffe5cc56bf465eb57d3fdad3959a085c
Reviewed-on: https://boringssl-review.googlesource.com/3401
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/bn/gcd.c')
-rw-r--r-- | crypto/bn/gcd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/bn/gcd.c b/crypto/bn/gcd.c index 2dce296c..789a0942 100644 --- a/crypto/bn/gcd.c +++ b/crypto/bn/gcd.c @@ -586,8 +586,9 @@ static BIGNUM *BN_mod_inverse_no_branch(BIGNUM *out, const BIGNUM *a, */ pB = &local_B; BN_with_flags(pB, B, BN_FLG_CONSTTIME); - if (!BN_nnmod(B, pB, A, ctx)) + if (!BN_nnmod(B, pB, A, ctx)) { goto err; + } } sign = -1; /* From B = a mod |n|, A = |n| it follows that |