From 429b8162c6e9eff46ce924badad75c8cda0a69b7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Wed, 29 Nov 2000 16:43:03 +0000 Subject: [PATCH] add missing braces --- crypto/bn/bn_gcd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crypto/bn/bn_gcd.c b/crypto/bn/bn_gcd.c index d361ada8b2..a61ba5ee11 100644 --- a/crypto/bn/bn_gcd.c +++ b/crypto/bn/bn_gcd.c @@ -379,9 +379,13 @@ BIGNUM *BN_mod_inverse(BIGNUM *in, { /* Y*a == 1 (mod |n|) */ if (BN_ucmp(Y,n) < 0) + { if (!BN_copy(R,Y)) goto err; + } else + { if (!BN_nnmod(R,Y,n,ctx)) goto err; + } } else { @@ -394,4 +398,3 @@ err: BN_CTX_end(ctx); return(ret); } - -- 2.25.1