diff options
author | Brian Smith <brian@briansmith.org> | 2015-08-06 17:41:58 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-08-19 03:46:02 +0300 |
commit | a89e208fe96813d36c39eeff6a9ec4d23b4a5af2 (patch) | |
tree | a69838d7035bba62e5bc01ecb2ecc0f5a377724f /crypto/digest | |
parent | 55a3cf4ad5ea1639cc0d43ae1ed856b83debf809 (diff) |
Suppress missing return value check warning in |EVP_DigestFinal|.
This is harmless, but it wasn't annoted with |(void)| so Coverity
complained about it.
Change-Id: Ie3405b0c0545944d49973d4bf29f8aeb6b965211
Reviewed-on: https://boringssl-review.googlesource.com/5612
Reviewed-by: David Benjamin <davidben@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/digest')
-rw-r--r-- | crypto/digest/digest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/digest/digest.c b/crypto/digest/digest.c index 7082c484..ada11667 100644 --- a/crypto/digest/digest.c +++ b/crypto/digest/digest.c @@ -203,7 +203,7 @@ int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, uint8_t *md_out, unsigned int *size) { } int EVP_DigestFinal(EVP_MD_CTX *ctx, uint8_t *md, unsigned int *size) { - EVP_DigestFinal_ex(ctx, md, size); + (void)EVP_DigestFinal_ex(ctx, md, size); EVP_MD_CTX_cleanup(ctx); return 1; } |