From: Richard Levitte Date: Wed, 17 Apr 2002 07:52:56 +0000 (+0000) Subject: Avoid variable shadowing. X-Git-Tag: OpenSSL-engine-0_9_6d-beta1~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=842931098fb4b9811acde683cb3b4d9a9de25143;p=oweals%2Fopenssl.git Avoid variable shadowing. --- 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));