From 5e3bad2f86665b35155095b91a2d672fc7335870 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 30 Nov 2013 12:02:56 -0500 Subject: Refactor random data generation Add new RandomDataProvider object and implement existing random number generation in terms of that. This enables end users to supply their own random data providers. --- libqpdf/build.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libqpdf/build.mk') diff --git a/libqpdf/build.mk b/libqpdf/build.mk index 20781230..4287b0de 100644 --- a/libqpdf/build.mk +++ b/libqpdf/build.mk @@ -11,6 +11,7 @@ SRCS_libqpdf = \ libqpdf/BufferInputSource.cc \ libqpdf/FileInputSource.cc \ libqpdf/InputSource.cc \ + libqpdf/InsecureRandomDataProvider.cc \ libqpdf/MD5.cc \ libqpdf/OffsetInputSource.cc \ libqpdf/PCRE.cc \ @@ -57,6 +58,7 @@ SRCS_libqpdf = \ libqpdf/QTC.cc \ libqpdf/QUtil.cc \ libqpdf/RC4.cc \ + libqpdf/SecureRandomDataProvider.cc \ libqpdf/qpdf-c.cc \ libqpdf/rijndael.cc \ libqpdf/sha2.c \ -- cgit v1.2.3-54-g00ecf