diff options
author | Pauli <pauli@openssl.org> | 2021-05-31 15:16:16 +1000 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-06-01 15:04:05 +1000 |
commit | a7981653ea61b587bbb963985e30394177945e8e (patch) | |
tree | 5bbafed3ae963acb2aa94dcb3b5bb313d3895d85 /crypto | |
parent | e378be2a29f8bc5e679e63d5f5e9766d2f4dfc4b (diff) |
ppc: fix ambiguous if if else statement
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/15535)
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/ppccap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/ppccap.c b/crypto/ppccap.c index 4d28d84cae..27f048686e 100644 --- a/crypto/ppccap.c +++ b/crypto/ppccap.c @@ -68,11 +68,12 @@ int bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, * no opportunity to figure it out... */ - if (num == 6) + if (num == 6) { if (OPENSSL_ppccap_P & PPC_MADD300) return bn_mul_mont_300_fixed_n6(rp, ap, bp, np, n0, num); else return bn_mul_mont_fixed_n6(rp, ap, bp, np, n0, num); + } return bn_mul_mont_int(rp, ap, bp, np, n0, num); } |