From cfd451d47f4df63278f83612b9a5280d1801c5f6 Mon Sep 17 00:00:00 2001 From: FdaSilvaYY Date: Thu, 4 Aug 2016 00:23:39 +0200 Subject: [PATCH] Improve error message Reviewed-by: Rich Salz Reviewed-by: Matt Caswell --- apps/speed.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/speed.c b/apps/speed.c index ce01a6f3c0..0c996f070c 100644 --- a/apps/speed.c +++ b/apps/speed.c @@ -1431,6 +1431,12 @@ int speed_main(int argc, char **argv) break; case OPT_MB: multiblock = 1; +#ifdef OPENSSL_NO_MULTIBLOCK + BIO_printf(bio_err, + "%s: -mb specified but multi-block support is disabled\n", + prog); + goto end; +#endif break; } } -- 2.25.1