aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/bsd-airtools/files/patch-dweputils_dwepcrack_weakksa.c
blob: d7a1701dbf1137f98e276618b237de32e2ce670e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

$FreeBSD$

--- dweputils/dwepcrack/weakksa.c.orig  Sun Aug 22 21:34:55 2004
+++ dweputils/dwepcrack/weakksa.c   Sun Aug 22 21:35:13 2004
@@ -168,8 +168,8 @@
           memcpy(samples[B].s[samples[B].len].iv, iv, IV_SIZE);
           samples[B].s[samples[B].len++].byte = iv[4] ^ 0xaa;
 
-          fail:
-        }
+          fail: break;
+   }
       }
     }
   }