diff options
author | Richard Farina <zerochaos@gentoo.org> | 2014-02-04 03:34:22 +0000 |
---|---|---|
committer | Richard Farina <zerochaos@gentoo.org> | 2014-02-04 03:34:22 +0000 |
commit | cfb61c0f6a0e854becd24c3c3f71b952c8044411 (patch) | |
tree | 4612f9c94df37860361bcf5e457320ee682f6de2 /net-wireless/aircrack-ng | |
parent | Add more cross-compile related variables to force sane results. (diff) | |
download | historical-cfb61c0f6a0e854becd24c3c3f71b952c8044411.tar.gz historical-cfb61c0f6a0e854becd24c3c3f71b952c8044411.tar.bz2 historical-cfb61c0f6a0e854becd24c3c3f71b952c8044411.zip |
version bump, bug 499850
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xDD11F94A
Diffstat (limited to 'net-wireless/aircrack-ng')
-rw-r--r-- | net-wireless/aircrack-ng/ChangeLog | 10 | ||||
-rw-r--r-- | net-wireless/aircrack-ng/Manifest | 33 | ||||
-rw-r--r-- | net-wireless/aircrack-ng/aircrack-ng-1.2_beta2.ebuild | 97 | ||||
-rw-r--r-- | net-wireless/aircrack-ng/files/aircrack-ng-9999-fix-labels.patch | 49 |
4 files changed, 172 insertions, 17 deletions
diff --git a/net-wireless/aircrack-ng/ChangeLog b/net-wireless/aircrack-ng/ChangeLog index 6a3fff194877..d1897e3dba7a 100644 --- a/net-wireless/aircrack-ng/ChangeLog +++ b/net-wireless/aircrack-ng/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-wireless/aircrack-ng -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v 1.78 2013/10/05 02:05:28 zerochaos Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/ChangeLog,v 1.79 2014/02/04 03:34:12 zerochaos Exp $ + +*aircrack-ng-1.2_beta2 (04 Feb 2014) + + 04 Feb 2014; Rick Farina <zerochaos@gentoo.org> +aircrack-ng-1.2_beta2.ebuild, + +files/aircrack-ng-9999-fix-labels.patch: + version bump, bug 499850 05 Oct 2013; Rick Farina <zerochaos@gentoo.org> aircrack-ng-9999.ebuild: minor cleanup, fix tests diff --git a/net-wireless/aircrack-ng/Manifest b/net-wireless/aircrack-ng/Manifest index 849dcc38fc7d..668ae73ed9bd 100644 --- a/net-wireless/aircrack-ng/Manifest +++ b/net-wireless/aircrack-ng/Manifest @@ -7,6 +7,7 @@ AUX aircrack-ng-1.1-CVE-2010-1159.patch 1014 SHA256 fcfaa1cfa75cbaac214ac3cb01b8 AUX aircrack-ng-1.1-parallelmake.patch 368 SHA256 c2b9cdcfb52428863fc9a1a2c3feef9266218b3cb4cf44fa37b3df9169f4c1cc SHA512 7febda74a460d75eb5ba41bc747c2144f29c7d106a9e75256c04012d187aa7dd413b0dd94b7f2ac20c78d63be5927ec9d55dfe67d5df3e16e88e08e607adeea8 WHIRLPOOL 5d69892aa8c8063aac37781f1c1a2ca7e7675eba7bb1038da2c5f1f208da6c9600d6f60dd12e2a36dee3e16b8337fcc0837e7a3f9603094b55cd51dcaf7b101a AUX aircrack-ng-1.1-respect_LDFLAGS.patch 3144 SHA256 543d8efee610cd32874abb0ebc7371619526613ed04fa70db35d1caf473efff8 SHA512 faaaa5b1733ce78b4461b34d33be5cca671259ebfd69a9211ef3a4e4b97f3c062edd11f9556ef88faa245db87c6da59048efd593fbf4d31f48917df218bba272 WHIRLPOOL 7562c4fec3b3f5479186c0f4c16af0df97c7196f6d0072120ce460b5ca044244b26a49b7a47f07ebd01e022fd0acffb8493e46cd4c5f74e0b6adc2bd4b577a1c AUX aircrack-ng-1.1-sse-pic.patch 4603 SHA256 05b39f662e613c8cdf6896a863bc7cb80b980e5f54f63f8aa0e895f64f9a12f3 SHA512 caa93783fd00dfbfb2fc6fea3b748804320a69cadd8ef1de960d6dd4ec6e53496314be539806005be4946a0e0fc99b119d0ff1d14d1fbd2d7613a8178d7cc89e WHIRLPOOL 5eed55676deb044a1069c544bd45ee733a90084e2d7a5994efcacf28afbbba3b541797ad692f8bd3eff59ba9456d072948f26054d853faeca0f167f2698ab73f +AUX aircrack-ng-9999-fix-labels.patch 2172 SHA256 d21526841493b98969c9bf4e6499458ed8c14ce2397b0a6e0d1f04aecc9cfdaf SHA512 092e6a308eec6f4c7d77da306a75fc9323440327b0d48748289e3a1d9c07f4b89150f0fd46b1ee63f6904bfc3be7a2c6e9348fbaf71e6ce208c1bcc3177d9f2e WHIRLPOOL e54e7e9e7250b590ae7de81425c072220dbfbd1d58c4e6ce2cddb4c24daecba526ea42a694fa1a0e6defe318e42546883b3a1e59f11567bc1e3131b1cdaea6fe AUX airodump-ng-oui-update-path-fix.patch 572 SHA256 07cc244595a511d601e9bd6655a2939751ff1a16892529db5210bc4484af1cc9 SHA512 b18d570c0092e88d90439c09bedfa5d36f14ed5348085189d98d58cdee81c8c14582c448b36ed16537dae96073df7bee0340220877d07fd2df081eef0069b068 WHIRLPOOL 368e1cf8e115a452ce649b6c87c53afe9306b2de53c340916f3fba73f766cb469795e30bf1d2a1990893258cf99c9ea3bd682f8f4b1f7aa93065277ed1828805 AUX airodump-ng.ignore-negative-one.v4.patch 5705 SHA256 d77f676f0ccd83e1e192f78473ff77ea55be6b3c652e14921938cc3a79ac6a10 SHA512 7dda1dd122c28e8c8666cac4529f3c46b34f9a4408dea3c7f1ea9397f282b0b41f3c7685335ffac1d551e02d06aa5d8adfcfe2dc722ac829547dc64a6871bf12 WHIRLPOOL fe5dfd5f8f004849f2c1f3a140cbbf8b17e9facadacee32883d29140a0da322b44ce4ade7b3d431698212904e934a48fcd76caee5ba3be72d9532c4ef70af7a1 AUX changeset_r1921_backport.diff 1941 SHA256 a4655b208358b62a710f84206a69a5b0bb2091aeb47d73adbf0b7e8cd5a30c46 SHA512 dd3822bc8abc359b925657b32e69f7653e3a4ce780ce416386f2a2f6ae27de64730bfd9817c8cd1dc2941d0bf4a127d742fdf75a9113be7466276830bc618d66 WHIRLPOOL 25446d8808569dc5f90d7454d42af9b65cc71d44f3c77cd416c2b2cb36fc3f3cdddfe3c11ebb2279442e13c9d11fca0fc2697f281437d8f1e1860eb0115d7886 @@ -16,26 +17,28 @@ AUX ignore-channel-1-error.patch 2270 SHA256 aa2345b9ba7b59c79e54a5546f28398aaea AUX process-group-leader.c 373 SHA256 153666625e942384648dafedbc8f37577fdf6a24060b04237913fd7f693f7bf7 SHA512 75a53fd739ec533742093607361b1d72f611329083f804a3345ddc74c158c11a07a3efa89906ec34b7e81bca8dc2eccfc01658e0fc996346f50b3acf1fe980c2 WHIRLPOOL 95044a420715c061c6c8d9b89cbc71079281efa9288c08bb3bc61ccc1b83b095389d4a264eadcf4d26463f2d66e00420054ee74f7c0a1eb0ccefd29fc9a21af4 DIST aircrack-ng-1.1.tar.gz 1453272 SHA256 b136b549b7d2a2751c21793100075ea43b28de9af4c1969508bb95bcc92224ad SHA512 e2246c3e5bb61a7294b8483ba7865a7da78c35c0444ded51e61076b1b15a1329c757de2828b6a23ab399a77c1c51949cb6833cfa2823c1f8819c8c12f7799270 WHIRLPOOL 37592c80250cb92ab0a1cf25beffffd3449434721068d586731c2669b10bf0ab2461ede664614e0286581a5ccd8e8721181c367d9774700c1c72ca8c640d2530 DIST aircrack-ng-1.2-beta1.tar.gz 3457757 SHA256 f12339ad3316ebe7615d2e863adf200465a3f4cf922046476d595caccf8a8ea5 SHA512 e436443251d4c7895c6c2a71abde382222b2e4fc0856271dfb9825eb4b00383523dfcc0d8c1e8e807a5420cecf9f512adf8564e02cee70f03bd33db3568f5afe WHIRLPOOL d9107bca7ccc18ed2b73bfaa095b194b6e2d8eca6275f3e06b593df03d3f9ca6b5629e3250dfecdbf854d0e566e9377eff53ff65ab6d5722dc36eeef8e6c81f6 +DIST aircrack-ng-1.2-beta2.tar.gz 3447205 SHA256 ef7181f15462767249fde88219a503f27a7aee6f98b38e7e7d33a7b32880fbde SHA512 c1f680b9093748a5d398fe99ca122639019d03aad14f59f423da4644f1e207ee0cdd82bbf001ba64b8aacc5523282ab22fad0a2bc26a1035659dc1cdf13f9f96 WHIRLPOOL 0ea0f8317c7e440f7124f183a7ac30f022ac322d6927962678059ea1b07d1b37ec4d3dd2f53d26d1d2aa2d2bbf8fc4351674607262e854d0eb5b9a46ef3e2d99 EBUILD aircrack-ng-1.1-r2.ebuild 2256 SHA256 80dba3e8a0c29a26247bb24121bdb72ab9caa95bd7754bd23f441d7132a3042c SHA512 aecec438af459d967e129b48946217600f39e9932fb74db6e7506d7a2c82ba3ae276167d2f91a339bbe60ec8c0747446b4fd415d291c1c0040af39856a5454be WHIRLPOOL 3f82e245e7066976604d4c6d141a79ff1aa321b86540bed263cfef8fdf14c75531efe1cc6b9bb66e56a0c5435c85d8c41bf6acf2a5001a1fb2d2004314b32575 EBUILD aircrack-ng-1.1-r4.ebuild 2732 SHA256 03dad5c6d19b80a60ea9a366f03702999c4be5a6ccb309074e669b4fd3af3c78 SHA512 c653ed18aff24fc337d159d499823779391b0db717875f2ebb2a38d5d9daff946228c0b96a1e14bfc7c168179a7d44848c0a3c38fc8a9d5857612628b2eb69c4 WHIRLPOOL cd577b154b08e78884edd8947660fb38cef191fb280997bb3e2de13d6b32a722665e8cd55ea477dd325605cb0f6044f54cd72cb4a22dcb5004a4205b262d5fc1 EBUILD aircrack-ng-1.2_beta1.ebuild 2598 SHA256 016045dfff06a11e89b4116e1cbc4861c017fa268deec9aa5a428519040493a0 SHA512 85e3ecb5b1a87ff9d080738c5f1b61452abefd36f1520f206ad0ba5a1ef860e292fb0374adf626672f87b72493f16a11923a087b9a8d2bd72da8fc8705c245fd WHIRLPOOL 212b679d089098c8b06eeb30e8e55281fa9ac647d91f414bbfc913241c243ac03ccd777da565bd07b89a4e365c2387e0d6a82b8fbb039bc0c26cf054097f7cab +EBUILD aircrack-ng-1.2_beta2.ebuild 2673 SHA256 b739dda2ea24597889b3955d516bbad33992bbd3b62597c3e4bb6c6cee8bfa6f SHA512 4675d41ed5765838b61c411e6f7f01f94d1582446738a6ff0d96efec47fceff7e46a92c077ab426f2294105ffd42e1596e9175c38aefe5bfe361e0e3780f89da WHIRLPOOL d0ff143397786a0aef75124f004e98b066608ca452b772e03ab7b15bd4f4c328cd6fd808af191db245607a83fe79f8e59d05593f4b99dc9748f36619c6d47208 EBUILD aircrack-ng-9999.ebuild 2739 SHA256 b594a53d5b5db98ab9913ce0dc5a987ac6aa9156f93c84ceac36eeebe03bc05f SHA512 472d6443ae75dc7f672fadec4703e0c812536cc2e0e16d04c39541c9afed068cac56497b8b15908166f9f9e1fc927dd192deb531a4b023412b72e0d260c5b869 WHIRLPOOL d1f54f0746587773670ba5a2cf48ebe89f9369e24aa8f90bf775d693a410af3734f1f7cd386872d3976c8ef2f9e0f1203db3cf61b646728fe1879a1f48134a19 -MISC ChangeLog 12144 SHA256 2fe68140c7693b02e7a3254024ca9e89c04e0e17a13c2f283e71f77e559b789c SHA512 39eabf2d4bd85b7a82cefbf8701b71049d8570242ad71da8106ef293a0859df31c9fdd93fbb649cef3c21160c4a38508ccb49332a28d99fe944ab9c76466780e WHIRLPOOL 7d9b0929639a934829906fa33f4708e7374429a0574d60a770878a7178f42cdca4522e9922ca76fc41dd6e39048e65658516d36c9d43e80ba96db02bc82db9a6 +MISC ChangeLog 12335 SHA256 bb7dedda6d4d0d30a3f8bb8932cd003e739e15d1428b5fcf8908797e1e291676 SHA512 14672044cdb10c168d8172c2bcc2e2b8a41391f9b87492d36fa83620204f0ff1a12a6777a79831a1021323e93074f893571e070e2aa14498a15bc3afefb634bb WHIRLPOOL 7c459e8f96839339ec11b9e74d5756d18315ec04f7118b91c14396caf3021f7ec89dc7ae68174771a8ca390ea35e8baa42cf47a78713fb0af44f7f2e3cc6f3d7 MISC metadata.xml 817 SHA256 9cb2b1c61779baaa8c53ad94a131334dcc380c365e3ce2a91cf4a2391edafa5b SHA512 e481c5eefbee13b7ea53900db1fba01cac98bb2213d01365f264cdeade3ce84b0c14021a0817b3269c03fad9e45b9164726ce14812cf704133191779c6b7ea8e WHIRLPOOL 95479f33ae3e88505a77f8ac8246a35dd29b60e2ee57262c043c880d1a8f34c3aa4c45db6aace401799ef749d55ba5528eb0d3b9ef2b6d8315e0805f7b9fe223 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.20 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCgAGBQJST3SHAAoJEKXdFCfdEflK03oQALm4lPYcdLZdPzVIIM5a4QNp -C/WQMoizD/2Jv5oE+O0Qv9KGZXCjJ2d1IvOpHjscadKq646CR/kqfaFuBJzyeQzL -gz32xjVQbwIPVoP36rCZry/0u3VhoDOkDVQrGabfEp4GeH40JcDO9LW5oPNurbFU -uBe9o3f9G9G1RP6mFhU11Ek7I3ZI88ug7t1G4OFXCk88WHEVE/nZR7qoxWWvN7f7 -RMoOqwW0cjsAyS/H9Cer74QJNDYcQGMXVNT4Tiiz8eSszjcN7jyRSmOPjL3Wsq8W -iSsDF+5thqgWJ9TlKxUt0k6wyN68uLw6nRMi6+uM3OsAcGeDbThwjpM6EZLhyxsO -wniH9+5BTFBrJR5aRQA614nWQ77qHfz9ElGQXB/1WJK+R8rL4zrCTuVNRS1ouW00 -Rd+0378wzmjL9LGzoSFiLT5ZpG9hZZTg4Ljdj0SnEutlucpvypxNPBrLgIkjbqbg -S23lFLmsvKO67f/4s0H2aFgVu1m9EYsAa7q75rmLj1vaBFuyHPoSNCEUkkKhdwW2 -wTvhjUp93yh8wAcs5a5m7qShak5IqXTs/hMWz4zIB20yCuuwRhqh5D0e1m6i6QTN -tZrke6rbUOmbXhbooe3v43AoFpCgEmAX8IuVuoHaUeE76eTCyjvG+4WwGaYf9dBB -QGvzjIpE5EaY4TeHlpee -=MZiE +iQIcBAEBCgAGBQJS8F//AAoJEKXdFCfdEflKOtQP/0N37RUl+XjnTke0Sj/6edA9 +sxvt/Q/vtyjUV/AHb8fjCWUu7ytd/IB+qaRO1r2EH+ZObMSeTcd8n4e6NgCDCGGL +I1L6TeIXX3n1nKgP2aBg9owWzzelrQvJUMbNgcvw2ruM+1N0OFO9D7qdLFSijD0x +NdTwFxEGtypQLaZA8EHj+HK8C6a5l/sZbvTmuXV19jbrm2QwTTV4+n2UMdzLpYmE +GnCebOyHRhZDSVUguc0WVYG/FwFJOs4CK99KAwMfES2Bs9zq7iHwlBVXdFgvrgy+ +hMAhBuhWDn15LbiwuKTOoR4Plstus8WAjh0fYTZVciyMvS4rZJZjJ5s7G7vH7E0u +fb63kWd1ElwkLmKHOlB0/yoFrqU5GfNHW/SpGzBflbFiSyAqHzx66vEcoZ9rrtUE +Z6NlaftwIqmfiEpIRfdOOoS1sOQUDDS2A4e2F0E45vLJG6pOs6OFT97UZUKu/S7a +nWjBIBz71CLnTYOo9H0vp+3AJisoiUE9RL3aXAtaGKFva0d4+yT9H+i42qLq8Ar+ +vq0YdDbFiaTySS5Vj0JZowEubEn3IgBdKugPGQkbZ9b14X8LISr5KUM0cOFMQTY+ +RuTwwmuIFe9++/5lbAz6vKB2mkJUVyNl1WivIVYbu4K8WDYXbfIDb6iYYjofXKcJ +dr5kDilqLWvkikY+0HaL +=A2J4 -----END PGP SIGNATURE----- diff --git a/net-wireless/aircrack-ng/aircrack-ng-1.2_beta2.ebuild b/net-wireless/aircrack-ng/aircrack-ng-1.2_beta2.ebuild new file mode 100644 index 000000000000..a5b3e357d511 --- /dev/null +++ b/net-wireless/aircrack-ng/aircrack-ng-1.2_beta2.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-wireless/aircrack-ng/aircrack-ng-1.2_beta2.ebuild,v 1.1 2014/02/04 03:34:12 zerochaos Exp $ + +EAPI="5" + +inherit toolchain-funcs versionator + +DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys" +HOMEPAGE="http://www.aircrack-ng.org" + +if [[ ${PV} == "9999" ]] ; then + inherit subversion + ESVN_REPO_URI="http://svn.aircrack-ng.org/trunk" + KEYWORDS="" +else + MY_PV="$(replace_version_separator 2 '-')" + MY_P=${P/\_/-} + SRC_URI="http://download.aircrack-ng.org/${PN}-${MY_PV}.tar.gz" + KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" + ESVN_WC_REVISION=0 +fi + +LICENSE="GPL-2" +SLOT="0" + +IUSE="+airdrop-ng +airgraph-ng kernel_linux kernel_FreeBSD netlink +sqlite +unstable" + +DEPEND="dev-libs/openssl + netlink? ( dev-libs/libnl:3 ) + sqlite? ( >=dev-db/sqlite-3.4 )" +RDEPEND="${DEPEND} + kernel_linux? ( + net-wireless/iw + net-wireless/wireless-tools + sys-apps/ethtool + sys-apps/usbutils + sys-apps/pciutils ) + sys-apps/hwids + airdrop-ng? ( net-wireless/lorcon[python] )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch "${FILESDIR}"/aircrack-ng-9999-fix-labels.patch +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + AR="$(tc-getAR)" \ + LD="$(tc-getLD)" \ + RANLIB="$(tc-getRANLIB)" \ + libnl=$(usex netlink true false) \ + sqlite=$(usex sqlite true false) \ + unstable=$(usex unstable true false) \ + REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" +} + +src_install() { + emake \ + prefix="${ED}/usr" \ + libnl=$(usex netlink true false) \ + sqlite=$(usex sqlite true false) \ + unstable=$(usex unstable true false) \ + REVFLAGS=-D_REVISION="${ESVN_WC_REVISION}" \ + install + + dodoc AUTHORS ChangeLog INSTALLING README + + if use airgraph-ng; then + cd "${S}/scripts/airgraph-ng" + emake prefix="${ED}/usr" install + fi + if use airdrop-ng; then + cd "${S}/scripts/airdrop-ng" + emake prefix="${ED}/usr" install + fi + + #we don't need aircrack-ng's oui updater, we have our own + rm "${ED}"/usr/sbin/airodump-ng-oui-update +} + +pkg_postinst() { + # Message is (c) FreeBSD + # http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-mgmt/aircrack-ng/files/pkg-message.in?rev=1.5 + if use kernel_FreeBSD ; then + einfo "Contrary to Linux, it is not necessary to use airmon-ng to enable the monitor" + einfo "mode of your wireless card. So do not care about what the manpages say about" + einfo "airmon-ng, airodump-ng sets monitor mode automatically." + echo + einfo "To return from monitor mode, issue the following command:" + einfo " ifconfig \${INTERFACE} -mediaopt monitor" + einfo + einfo "For aireplay-ng you need FreeBSD >= 7.0." + fi +} diff --git a/net-wireless/aircrack-ng/files/aircrack-ng-9999-fix-labels.patch b/net-wireless/aircrack-ng/files/aircrack-ng-9999-fix-labels.patch new file mode 100644 index 000000000000..d89f16ecc4d5 --- /dev/null +++ b/net-wireless/aircrack-ng/files/aircrack-ng-9999-fix-labels.patch @@ -0,0 +1,49 @@ +Fix build failure with gcc with -fstack-protector-all. + +> $ x86_64-pc-linux-gnu-gcc -Os -pipe -march=native -frecord-gcc-switches -ggdb -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -I/usr/local/include -DHAVE_SQLITE -DCONFIG_LIBNL30 -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -I/usr/local/include -DHAVE_SQLITE -DCONFIG_LIBNL30 -I/usr/include/libnl3 -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o aircrack-ptw-lib.o aircrack-ptw-lib.c +> aircrack-ptw-lib.c: Assembler messages: +> aircrack-ptw-lib.c:181: Error: symbol `.L7' is already defined + +Error gets triggered on vanilla toolchain when -fstack-protector-all is used. +gcc emits labels around in start/end functions as follows (the canary check): + +> movq8(%rsp), %rcx +> xorq%fs:40, %rcx +> je.L7 +> call__stack_chk_fail +>.LVL5: +>.L7: +> addq$24, %rsp +> .cfi_def_cfa_offset 8 + +and gets .L7 collision. +Patch gives all .L\d names a bit nicer names to avoid collision and add readability. +diff --git a/src/aircrack-ptw-lib.c b/src/aircrack-ptw-lib.c +index 79268fb..5524053 100644 +--- a/src/aircrack-ptw-lib.c ++++ b/src/aircrack-ptw-lib.c +@@ -168,10 +168,10 @@ static int rc4test_amd64_sse2(uint8_t *key, int keylen, uint8_t *iv, uint8_t *ke + "movdqa (%q3), %%xmm0 \n\t" + "cmpl $16, %k4 \n\t" + "movdqu %%xmm0, 3+"keybuf" \n\t" +- "jng .L0 \n\t" ++ "jng .Lsmall_key1 \n\t" + "movdqa 16(%q3), %%xmm1 \n\t" + "movdqu %%xmm1,19+"keybuf" \n\t" +- ".L0: \n\t" ++ ".Lsmall_key1: \n\t" + + // key = keybuf + "lea "keybuf", %q3 \n\t" +@@ -198,9 +198,9 @@ static int rc4test_amd64_sse2(uint8_t *key, int keylen, uint8_t *iv, uint8_t *ke + "movq %q4, %q8 \n\t" + "cmpq $16, %q8 \n\t" + "movq $15, %q4 \n\t" +- "je .L7 \n\t" ++ "je .Lsmall_key2 \n\t" + "shrq $1, %q4 \n\t" +- ".L7: \n\t" ++ ".Lsmall_key2: \n\t" + + // init array with key + ".p2align 4 \n\t" |