From a7981653ea61b587bbb963985e30394177945e8e Mon Sep 17 00:00:00 2001 From: Pauli Date: Mon, 31 May 2021 15:16:16 +1000 Subject: [PATCH] ppc: fix ambiguous if if else statement Reviewed-by: Richard Levitte Reviewed-by: Shane Lontis Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/15535) --- crypto/ppccap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crypto/ppccap.c b/crypto/ppccap.c index 4d28d84cae2..27f048686ea 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); } -- 2.47.3