summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2017-12-07 23:44:03 +0100
committerMichael Stahl <mstahl@redhat.com>2017-12-08 11:57:55 +0100
commitc83b09ab19e72818f38266808e109efd0f1f64c0 (patch)
tree70cfcaa4dc128116677eae9d2c026ff6e7f518c1 /package
parentd46dc8e547810208287aab77f0313f1971901464 (diff)
rtlRandomPool: remove pointless seeding with system time
Change-Id: I88647a66a72d092303560a4348ce3dc55ee6c321 Reviewed-on: https://gerrit.libreoffice.org/46055 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'package')
-rw-r--r--package/source/zippackage/ZipPackage.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx
index 769c7f662bba..faf6c9dedceb 100644
--- a/package/source/zippackage/ZipPackage.cxx
+++ b/package/source/zippackage/ZipPackage.cxx
@@ -1100,11 +1100,7 @@ namespace
public:
RandomPool()
{
- // Get a random number generator and seed it with current timestamp
- TimeValue aTime;
- osl_getSystemTime( &aTime );
m_aRandomPool = rtl_random_createPool ();
- rtl_random_addBytes (m_aRandomPool, &aTime, 8);
}
rtlRandomPool get()
{