Date: Fri, 8 Aug 2014 19:39:40 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r269738 - in stable/10/tools/regression/net80211: ccmp wep Message-ID: <53e5277d.2bb2.76f42596@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: delphij Date: Fri Aug 8 19:39:40 2014 New Revision: 269738 URL: http://svnweb.freebsd.org/changeset/base/269738 Log: MFC r269098: Use the right lengths. Submitted by: Sascha Wildner Modified: stable/10/tools/regression/net80211/ccmp/test_ccmp.c stable/10/tools/regression/net80211/wep/test_wep.c Directory Properties: stable/10/ (props changed) Modified: stable/10/tools/regression/net80211/ccmp/test_ccmp.c ============================================================================== --- stable/10/tools/regression/net80211/ccmp/test_ccmp.c Fri Aug 8 19:36:40 2014 (r269737) +++ stable/10/tools/regression/net80211/ccmp/test_ccmp.c Fri Aug 8 19:39:40 2014 (r269738) @@ -680,7 +680,7 @@ runtest(struct ieee80211com *ic, struct printf("FAIL: decap botch; data does not compare\n"); printtest(t); cmpfail(mtod(m, const void *), m->m_pkthdr.len, - t->plaintext, sizeof(t->plaintext)); + t->plaintext, t_plaintext_len); goto bad; } m_freem(m); Modified: stable/10/tools/regression/net80211/wep/test_wep.c ============================================================================== --- stable/10/tools/regression/net80211/wep/test_wep.c Fri Aug 8 19:36:40 2014 (r269737) +++ stable/10/tools/regression/net80211/wep/test_wep.c Fri Aug 8 19:39:40 2014 (r269738) @@ -242,7 +242,7 @@ runtest(struct ieee80211com *ic, struct } else if (memcmp(mtod(m, const void *), t->plaintext, t->plaintext_len)) { printf("FAIL: decap botch; data does not compare\n"); cmpfail(mtod(m, const void *), m->m_pkthdr.len, - t->plaintext, sizeof(t->plaintext)); + t->plaintext, t->plaintext_len); goto bad; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e5277d.2bb2.76f42596>