Fix a return value bug in apps/speed.c
authorPaul Yang <kaishen.yy@antfin.com>
Mon, 30 Sep 2019 03:33:24 +0000 (11:33 +0800)
committerPaul Yang <kaishen.yy@antfin.com>
Mon, 30 Sep 2019 05:40:19 +0000 (13:40 +0800)
commit312674e5148a44843202040006f47fc374902f88
tree269bac225b8202896275e613814b331ef237f235
parentea21f6f88e4699d231f7ef51eb774f343b39d6ab
Fix a return value bug in apps/speed.c

Those functions returns less than and equal to 0 to indicate an error
occured.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/10054)

(cherry picked from commit 94bd168a9e31d1ab4986e94056dfae71ec5f051f)
apps/speed.c