Skip to content

Commit

Permalink
archivers/libarchive: patch according to latest recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Mar 20, 2017
1 parent afe970a commit 538904c
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions archivers/libarchive/files/patch-libarchive_archive__random.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- libarchive/archive_random.c.orig 2017-03-20 12:41:38 UTC
+++ libarchive/archive_random.c
@@ -222,7 +222,7 @@ arc4_stir(void)
* Discard early keystream, as per recommendations in:
* "(Not So) Random Shuffles of RC4" by Ilya Mironov.
*/
- for (i = 0; i < 1024; i++)
+ for (i = 0; i < 3072; i++)
(void)arc4_getbyte();
arc4_count = 1600000;
}

0 comments on commit 538904c

Please sign in to comment.