From 1984ddd2d94230288c3c2481475af88d02582092 Mon Sep 17 00:00:00 2001 From: tb <> Date: Mon, 29 Jan 2024 06:05:50 +0000 Subject: Curious to see if explicitly ignoring the return value appeases Coverity --- src/lib/libcrypto/cmac/cmac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib') 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 @@ -/* $OpenBSD: cmac.c,v 1.20 2024/01/28 20:57:15 tb Exp $ */ +/* $OpenBSD: cmac.c,v 1.21 2024/01/29 06:05:50 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. */ @@ -132,7 +132,7 @@ void CMAC_CTX_cleanup(CMAC_CTX *ctx) { if (ctx->cipher_ctx != NULL) - EVP_CIPHER_CTX_reset(ctx->cipher_ctx); + (void)EVP_CIPHER_CTX_reset(ctx->cipher_ctx); explicit_bzero(ctx->tbl, EVP_MAX_BLOCK_LENGTH); explicit_bzero(ctx->k1, EVP_MAX_BLOCK_LENGTH); explicit_bzero(ctx->k2, EVP_MAX_BLOCK_LENGTH); -- cgit v1.2.3-55-g6feb