From 842931098fb4b9811acde683cb3b4d9a9de25143 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 17 Apr 2002 07:52:56 +0000 Subject: [PATCH] Avoid variable shadowing. --- crypto/engine/hw_ncipher.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto/engine/hw_ncipher.c b/crypto/engine/hw_ncipher.c index 3afde04176..847c840d0f 100644 --- a/crypto/engine/hw_ncipher.c +++ b/crypto/engine/hw_ncipher.c @@ -1005,13 +1005,13 @@ static int hwcrhk_get_pass(const char *prompt_info, return 0; } -static void hwcrhk_log_message(void *logstream, const char *message) +static void hwcrhk_log_message(void *_logstream, const char *message) { BIO *lstream = NULL; CRYPTO_w_lock(CRYPTO_LOCK_BIO); - if (logstream) - lstream=*(BIO **)logstream; + if (_logstream) + lstream=*(BIO **)_logstream; if (lstream) { BIO_write(lstream, message, strlen(message)); -- 2.40.0