summaryrefslogtreecommitdiffstats
path: root/apps/speed.c
diff options
context:
space:
mode:
authorPauli <pauli@openssl.org>2022-01-17 06:49:58 +0100
committerPauli <pauli@openssl.org>2022-01-18 05:10:38 +0100
commita09a342ffb459d0913954111b7802815e9a3481a (patch)
treef06eaaa29994641296cfad1c083c07016cbe4956 /apps/speed.c
parentreplace ;; with ; as statement separator (diff)
downloadopenssl-a09a342ffb459d0913954111b7802815e9a3481a.tar.xz
openssl-a09a342ffb459d0913954111b7802815e9a3481a.zip
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 '')
-rw-r--r--apps/speed.c4
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);
}