summaryrefslogtreecommitdiffstats
path: root/demos/mac/hmac-sha512.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/mac/hmac-sha512.c')
-rw-r--r--demos/mac/hmac-sha512.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/mac/hmac-sha512.c b/demos/mac/hmac-sha512.c
index c258b90ee3..4bdac63e55 100644
--- a/demos/mac/hmac-sha512.c
+++ b/demos/mac/hmac-sha512.c
@@ -75,7 +75,7 @@ static const char *propq = NULL;
int main(void)
{
- int rv = EXIT_FAILURE;
+ int ret = EXIT_FAILURE;
OSSL_LIB_CTX *library_context = NULL;
EVP_MAC *mac = NULL;
EVP_MAC_CTX *mctx = NULL;
@@ -152,9 +152,9 @@ int main(void)
goto end;
}
- rv = EXIT_SUCCESS;
+ ret = EXIT_SUCCESS;
end:
- if (rv != EXIT_SUCCESS)
+ if (ret != EXIT_SUCCESS)
ERR_print_errors_fp(stderr);
/* OpenSSL free functions will ignore NULL arguments */
OPENSSL_free(out);
@@ -162,5 +162,5 @@ end:
EVP_MAC_CTX_free(mctx);
EVP_MAC_free(mac);
OSSL_LIB_CTX_free(library_context);
- return rv;
+ return ret;
}