summaryrefslogtreecommitdiffstats
path: root/crypto/bio/b_dump.c
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2003-11-04 00:51:32 +0000
committerGeoff Thorpe <geoff@openssl.org>2003-11-04 00:51:32 +0000
commitd8ec0dcf457f4dec39f137657b702fcbeaf5cc04 (patch)
treeb9fc5fe2f2eb1fb17672838a201fda808751a039 /crypto/bio/b_dump.c
parentc465e7941ec785f2ce53638b351a21d6a49fe1a0 (diff)
Avoid some shadowed variable names.
Submitted by: Nils Larsch
Diffstat (limited to 'crypto/bio/b_dump.c')
-rw-r--r--crypto/bio/b_dump.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/crypto/bio/b_dump.c b/crypto/bio/b_dump.c
index 8397cfab6a..0f61768360 100644
--- a/crypto/bio/b_dump.c
+++ b/crypto/bio/b_dump.c
@@ -77,15 +77,15 @@ int BIO_dump_indent(BIO *bio, const char *s, int len, int indent)
{
int ret=0;
char buf[288+1],tmp[20],str[128+1];
- int i,j,rows,trunc;
+ int i,j,rows,trc;
unsigned char ch;
int dump_width;
- trunc=0;
+ trc=0;
#ifdef TRUNCATE
for(; (len > 0) && ((s[len-1] == ' ') || (s[len-1] == '\0')); len--)
- trunc++;
+ trc++;
#endif
if (indent < 0)
@@ -142,9 +142,9 @@ int BIO_dump_indent(BIO *bio, const char *s, int len, int indent)
ret+=BIO_write(bio,(char *)buf,strlen(buf));
}
#ifdef TRUNCATE
- if (trunc > 0)
+ if (trc > 0)
{
- sprintf(buf,"%s%04x - <SPACES/NULS>\n",str,len+trunc);
+ sprintf(buf,"%s%04x - <SPACES/NULS>\n",str,len+trc);
ret+=BIO_write(bio,(char *)buf,strlen(buf));
}
#endif