summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-03-21 15:10:23 (GMT)
committerBrad King <brad.king@kitware.com>2017-03-21 15:10:23 (GMT)
commit47adf51f40c488fa46b4a583d7ac43740274facc (patch)
tree49444d1a7c5502f91f3fdb30e9167a01f2040acf
parent68115cf0ea67f9b4d75a4aa8a8dee33755807c66 (diff)
parent18009aaf5e1d8a436f251b6f70ac46bcad1ad768 (diff)
downloadCMake-47adf51f40c488fa46b4a583d7ac43740274facc.zip
CMake-47adf51f40c488fa46b4a583d7ac43740274facc.tar.gz
CMake-47adf51f40c488fa46b4a583d7ac43740274facc.tar.bz2
Merge branch 'libarchive-backport-rc4-crypto-rec' into release
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_random.c b/Utilities/cmlibarchive/libarchive/archive_random.c
index a20b9b1..fcea6c6 100644
--- a/Utilities/cmlibarchive/libarchive/archive_random.c
+++ b/Utilities/cmlibarchive/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;
}