Final brucification pass. Spell types consistently (u_int). Remove bogus
casts. Remove unnecessary parenthesis. Submitted by: bde
This commit is contained in:
parent
126a20d4c2
commit
32ff046639
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user