diff options
author | tb <> | 2024-01-29 06:05:50 +0000 |
---|---|---|
committer | tb <> | 2024-01-29 06:05:50 +0000 |
commit | 1984ddd2d94230288c3c2481475af88d02582092 (patch) | |
tree | a5607b09e2903bd865318473dcf83043b1a61140 | |
parent | 4f3e8af0baa945c894ce108d606e2ce669bd0bbf (diff) | |
download | openbsd-1984ddd2d94230288c3c2481475af88d02582092.tar.gz openbsd-1984ddd2d94230288c3c2481475af88d02582092.tar.bz2 openbsd-1984ddd2d94230288c3c2481475af88d02582092.zip |
Curious to see if explicitly ignoring the return value appeases Coverity
-rw-r--r-- | src/lib/libcrypto/cmac/cmac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/cmac/cmac.c b/src/lib/libcrypto/cmac/cmac.c index 42f630c149..86b1b2d5be 100644 --- a/src/lib/libcrypto/cmac/cmac.c +++ b/src/lib/libcrypto/cmac/cmac.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: cmac.c,v 1.20 2024/01/28 20:57:15 tb Exp $ */ | 1 | /* $OpenBSD: cmac.c,v 1.21 2024/01/29 06:05:50 tb Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project. | 3 | * project. |
4 | */ | 4 | */ |
@@ -132,7 +132,7 @@ void | |||
132 | CMAC_CTX_cleanup(CMAC_CTX *ctx) | 132 | CMAC_CTX_cleanup(CMAC_CTX *ctx) |
133 | { | 133 | { |
134 | if (ctx->cipher_ctx != NULL) | 134 | if (ctx->cipher_ctx != NULL) |
135 | EVP_CIPHER_CTX_reset(ctx->cipher_ctx); | 135 | (void)EVP_CIPHER_CTX_reset(ctx->cipher_ctx); |
136 | explicit_bzero(ctx->tbl, EVP_MAX_BLOCK_LENGTH); | 136 | explicit_bzero(ctx->tbl, EVP_MAX_BLOCK_LENGTH); |
137 | explicit_bzero(ctx->k1, EVP_MAX_BLOCK_LENGTH); | 137 | explicit_bzero(ctx->k1, EVP_MAX_BLOCK_LENGTH); |
138 | explicit_bzero(ctx->k2, EVP_MAX_BLOCK_LENGTH); | 138 | explicit_bzero(ctx->k2, EVP_MAX_BLOCK_LENGTH); |