aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QUtil.hh
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2020-04-06 15:49:02 +0200
committerJay Berkenbilt <ejb@ql.org>2020-04-06 15:49:02 +0200
commit619d294e9d2d9bb64c4eac62fde57096d5a84ba4 (patch)
tree69d37c3d77e022e27402bea6edb00b5d351505fb /include/qpdf/QUtil.hh
parent1360b530ecc96aac4c77ef6ae2db1a05e9b791f1 (diff)
downloadqpdf-619d294e9d2d9bb64c4eac62fde57096d5a84ba4.tar.zst
Remove QUtil::srandom
Diffstat (limited to 'include/qpdf/QUtil.hh')
-rw-r--r--include/qpdf/QUtil.hh7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/qpdf/QUtil.hh b/include/qpdf/QUtil.hh
index 2066cfef..912ebb32 100644
--- a/include/qpdf/QUtil.hh
+++ b/include/qpdf/QUtil.hh
@@ -271,13 +271,6 @@ namespace QUtil
QPDF_DLL
long random();
- // Wrapper around srandom from stdlib. Seeds the standard library
- // weak random number generator, which is not used if secure
- // random number generation is being used. You never need to call
- // this method as it is called automatically if needed.
- QPDF_DLL
- void srandom(unsigned int seed);
-
// Initialize a buffer with random bytes. By default, qpdf tries
// to use a secure random number source. It can be configured at
// compile time to use an insecure random number source (from