Avoid variable shadowing.
authorRichard Levitte <levitte@openssl.org>
Wed, 17 Apr 2002 07:52:56 +0000 (07:52 +0000)
committerRichard Levitte <levitte@openssl.org>
Wed, 17 Apr 2002 07:52:56 +0000 (07:52 +0000)
crypto/engine/hw_ncipher.c

index 3afde041766b45180e5bac6352d4126a4ec90537..847c840d0fbf4e109ab7552196f5ceaa8d0efdcd 100644 (file)
@@ -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));