diff options
author | sam <sam@FreeBSD.org> | 2005-11-13 19:28:17 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-11-13 19:28:17 +0000 |
commit | 32ef29176760f859ef551644967b61e579f3ffbd (patch) | |
tree | f7cf5dbcd565a461d4986e0a649f66059f192ca2 /contrib | |
parent | b3afa7a234a23e43b10fc9ca85c8cd7cbf245f48 (diff) | |
parent | 6dcc5281a5e8c0e636fcbf5736a3125dd9d14880 (diff) | |
download | FreeBSD-src-32ef29176760f859ef551644967b61e579f3ffbd.zip FreeBSD-src-32ef29176760f859ef551644967b61e579f3ffbd.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r152390,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/tcpdump/print-tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tcpdump/print-tcp.c b/contrib/tcpdump/print-tcp.c index ab736a0..c1dede8 100644 --- a/contrib/tcpdump/print-tcp.c +++ b/contrib/tcpdump/print-tcp.c @@ -799,7 +799,7 @@ tcp_verify_signature(const struct ip *ip, const struct tcphdr *tp, MD5_Update(&ctx, tcpmd5secret, strlen(tcpmd5secret)); MD5_Final(sig, &ctx); - if (memcmp(rcvsig, sig, 16)) + if (memcmp(rcvsig, sig, 16) == 0) return (SIGNATURE_VALID); else return (SIGNATURE_INVALID); |