diff options
-rw-r--r-- | sys/netinet/tcp_subr.c | 2 | ||||
-rw-r--r-- | sys/netinet/tcp_syncache.c | 2 | ||||
-rw-r--r-- | sys/netinet/tcp_timewait.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index 7feefdc..faaf00a 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -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); } diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c index d2ed8fc..9e5f8f2 100644 --- a/sys/netinet/tcp_syncache.c +++ b/sys/netinet/tcp_syncache.c @@ -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; diff --git a/sys/netinet/tcp_timewait.c b/sys/netinet/tcp_timewait.c index 7feefdc..faaf00a 100644 --- a/sys/netinet/tcp_timewait.c +++ b/sys/netinet/tcp_timewait.c @@ -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); } |