diff options
| author | tb <> | 2024-01-29 06:05:50 +0000 |
|---|---|---|
| committer | tb <> | 2024-01-29 06:05:50 +0000 |
| commit | 952c265dd1ad7b37708e0e9d411cf78fb1149a7a (patch) | |
| tree | a5607b09e2903bd865318473dcf83043b1a61140 /src | |
| parent | 9bf1fb915b8b00ce700025d954eb8ad6021d5b39 (diff) | |
| download | openbsd-952c265dd1ad7b37708e0e9d411cf78fb1149a7a.tar.gz openbsd-952c265dd1ad7b37708e0e9d411cf78fb1149a7a.tar.bz2 openbsd-952c265dd1ad7b37708e0e9d411cf78fb1149a7a.zip | |
Curious to see if explicitly ignoring the return value appeases Coverity
Diffstat (limited to 'src')
| -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); |
