Fix return value in speed tool.

Change-Id: Iceed87c194201d28c4a51b1c19a59fe2f20b6a5e
Reviewed-on: https://boringssl-review.googlesource.com/27444
Reviewed-by: David Benjamin <davidben@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
Daniel Hirche 2018-04-13 14:33:29 +02:00 committed by CQ bot account: commit-bot@chromium.org
parent acddb8c134
commit de20810fb4

View File

@ -762,7 +762,7 @@ bool Speed(const std::vector<std::string> &args) {
if (key == nullptr) { if (key == nullptr) {
fprintf(stderr, "Failed to parse 4096-bit RSA key.\n"); fprintf(stderr, "Failed to parse 4096-bit RSA key.\n");
ERR_print_errors_fp(stderr); ERR_print_errors_fp(stderr);
return 1; return false;
} }
if (!SpeedRSA("RSA 4096", key.get(), selected)) { if (!SpeedRSA("RSA 4096", key.get(), selected)) {