From: FdaSilvaYY Date: Wed, 3 Aug 2016 22:23:39 +0000 (+0200) Subject: Improve error message X-Git-Tag: OpenSSL_1_1_0~152 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cfd451d47f4df63278f83612b9a5280d1801c5f6;p=oweals%2Fopenssl.git Improve error message Reviewed-by: Rich Salz Reviewed-by: Matt Caswell --- 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; } }