speed: rework if condition to avoid empty statement
[openssl.git] / apps / speed.c
index 0ee7347f5ba9cd2935e1d2dc7f5f61bfdfbc8a57..02e7b1f9b2c5ba8552b4aaa5607d807d3dea9778 100644 (file)
@@ -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);
             }