diff options
author | Pauli <pauli@openssl.org> | 2022-01-17 16:49:58 +1100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2022-01-18 15:10:38 +1100 |
commit | a09a342ffb459d0913954111b7802815e9a3481a (patch) | |
tree | f06eaaa29994641296cfad1c083c07016cbe4956 /apps/speed.c | |
parent | d715dbd8e566e7827ce8b2e9b6687c2bcd8a89a0 (diff) |
speed: rework if condition to avoid empty statement
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17528)
Diffstat (limited to 'apps/speed.c')
-rw-r--r-- | apps/speed.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/speed.c b/apps/speed.c index 0ee7347f5b..02e7b1f9b2 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -3551,9 +3551,7 @@ static int do_multi(int multi, int size_num) d = atof(sstrsep(&p, sep)); ffdh_results[k][0] += d; # endif /* OPENSSL_NO_DH */ - } else if (HAS_PREFIX(buf, "+H:")) { - ; - } else { + } else if (!HAS_PREFIX(buf, "+H:")) { BIO_printf(bio_err, "Unknown type '%s' from child %d\n", buf, n); } |