Avoid some shadowed variable names.
[openssl.git] / crypto / bio / b_dump.c
index 8397cfab6a2cfbe5582f92e3cf1297c94ff26cbb..0f61768360140e8ceb1f691189e5ddd206a7ef97 100644 (file)
@@ -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