Avoid variable shadowing.

This commit is contained in:
Richard Levitte 2002-04-17 07:52:56 +00:00
parent a7a71d0ec9
commit 842931098f

View file

@ -1005,13 +1005,13 @@ static int hwcrhk_get_pass(const char *prompt_info,
return 0; 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; BIO *lstream = NULL;
CRYPTO_w_lock(CRYPTO_LOCK_BIO); CRYPTO_w_lock(CRYPTO_LOCK_BIO);
if (logstream) if (_logstream)
lstream=*(BIO **)logstream; lstream=*(BIO **)_logstream;
if (lstream) if (lstream)
{ {
BIO_write(lstream, message, strlen(message)); BIO_write(lstream, message, strlen(message));