diff options
| author | tb <> | 2023-03-27 08:49:34 +0000 |
|---|---|---|
| committer | tb <> | 2023-03-27 08:49:34 +0000 |
| commit | a9a09f0686909cacd88307baec3da22cf79a8370 (patch) | |
| tree | 0e1e41713347e48037225a6fc065faa3eb0776cc /src | |
| parent | 6c22402ecb25554f53f207689e914daf241fce35 (diff) | |
| download | openbsd-a9a09f0686909cacd88307baec3da22cf79a8370.tar.gz openbsd-a9a09f0686909cacd88307baec3da22cf79a8370.tar.bz2 openbsd-a9a09f0686909cacd88307baec3da22cf79a8370.zip | |
Drop unnecessary parentheses.
ok jsing
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/bn/bn_gf2m.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/bn/bn_gf2m.c b/src/lib/libcrypto/bn/bn_gf2m.c index 5ee353087d..c90c9f64de 100644 --- a/src/lib/libcrypto/bn/bn_gf2m.c +++ b/src/lib/libcrypto/bn/bn_gf2m.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: bn_gf2m.c,v 1.29 2022/11/30 01:47:19 jsing Exp $ */ | 1 | /* $OpenBSD: bn_gf2m.c,v 1.30 2023/03/27 08:49:34 tb Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
| 4 | * | 4 | * |
| @@ -964,10 +964,10 @@ BN_GF2m_mod_exp_arr(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const int p[], | |||
| 964 | 964 | ||
| 965 | 965 | ||
| 966 | if (BN_is_zero(b)) | 966 | if (BN_is_zero(b)) |
| 967 | return (BN_one(r)); | 967 | return BN_one(r); |
| 968 | 968 | ||
| 969 | if (BN_abs_is_word(b, 1)) | 969 | if (BN_abs_is_word(b, 1)) |
| 970 | return (BN_copy(r, a) != NULL); | 970 | return BN_copy(r, a) != NULL; |
| 971 | 971 | ||
| 972 | BN_CTX_start(ctx); | 972 | BN_CTX_start(ctx); |
| 973 | if ((u = BN_CTX_get(ctx)) == NULL) | 973 | if ((u = BN_CTX_get(ctx)) == NULL) |
