diff options
author | Tom Rini <trini@konsulko.com> | 2019-05-03 14:22:23 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-05-03 14:22:23 -0400 |
commit | 90c2ebd2156982eee1af6faa00f6740e9f79b3c5 (patch) | |
tree | 65408be4e60989d77b7b65f7cf5cb0e697b0b62d /tools | |
parent | b362fe0848df60569bdb867b7627151747eb6e23 (diff) | |
parent | 5859a39a43d15cb775478bd4537e9a2eac1c4cf2 (diff) | |
download | u-boot-90c2ebd2156982eee1af6faa00f6740e9f79b3c5.tar.gz u-boot-90c2ebd2156982eee1af6faa00f6740e9f79b3c5.tar.bz2 u-boot-90c2ebd2156982eee1af6faa00f6740e9f79b3c5.zip |
Merge git://git.denx.de/u-boot-marvell
- Fix in kwbimage (return code checking) (Young Xiao)
- Misc updates to Turris Omnia (Marek)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/kwbimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/kwbimage.c b/tools/kwbimage.c index dffaf9043a..b8f8d38212 100644 --- a/tools/kwbimage.c +++ b/tools/kwbimage.c @@ -701,7 +701,7 @@ int kwb_verify(RSA *key, void *data, int datasz, struct sig_v1 *sig, goto err_ctx; } - if (!EVP_VerifyFinal(ctx, sig->sig, sizeof(sig->sig), evp_key)) { + if (EVP_VerifyFinal(ctx, sig->sig, sizeof(sig->sig), evp_key) != 1) { ret = openssl_err("Could not verify signature"); goto err_ctx; } |