Final brucification pass. Spell types consistently (u_int). Remove bogus

casts. Remove unnecessary parenthesis.

Submitted by:	bde
This commit is contained in:
Bruce M Simpson 2004-02-14 21:49:48 +00:00
parent 126a20d4c2
commit 32ff046639
3 changed files with 3 additions and 3 deletions

View File

@ -1929,7 +1929,7 @@ static int
tcp_signature_apply(void *fstate, void *data, u_int len)
{
MD5Update((MD5_CTX *)fstate, (unsigned char *)data, (unsigned int)len);
MD5Update(fstate, (u_char *)data, len);
return (0);
}

View File

@ -1101,7 +1101,7 @@ syncache_respond(sc, m)
((sc->sc_flags & SCF_CC) ? TCPOLEN_CC_APPA * 2 : 0);
#ifdef TCP_SIGNATURE
optlen += (sc->sc_flags & SCF_SIGNATURE) ?
(TCPOLEN_SIGNATURE + 2) : 0;
TCPOLEN_SIGNATURE + 2 : 0;
#endif
}
tlen = hlen + sizeof(struct tcphdr) + optlen;

View File

@ -1929,7 +1929,7 @@ static int
tcp_signature_apply(void *fstate, void *data, u_int len)
{
MD5Update((MD5_CTX *)fstate, (unsigned char *)data, (unsigned int)len);
MD5Update(fstate, (u_char *)data, len);
return (0);
}