aboutsummaryrefslogtreecommitdiffstats
path: root/fuzz/qpdf_fuzzer.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2023-05-21 19:35:09 +0200
committerJay Berkenbilt <ejb@ql.org>2023-05-21 19:35:09 +0200
commit60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2 (patch)
treea707602da466c02ff1a54b3263c3a881cd7204a4 /fuzz/qpdf_fuzzer.cc
parent6b077332d38c093de2618d5e1481b42222106065 (diff)
downloadqpdf-60965d5f4d608bdccc2ffd4e8753e12cbbbd71d2.tar.zst
Rerun clang-format
Diffstat (limited to 'fuzz/qpdf_fuzzer.cc')
-rw-r--r--fuzz/qpdf_fuzzer.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/fuzz/qpdf_fuzzer.cc b/fuzz/qpdf_fuzzer.cc
index 8d4534bd..6f941276 100644
--- a/fuzz/qpdf_fuzzer.cc
+++ b/fuzz/qpdf_fuzzer.cc
@@ -53,8 +53,8 @@ FuzzHelper::FuzzHelper(unsigned char const* data, size_t size) :
std::shared_ptr<QPDF>
FuzzHelper::getQpdf()
{
- auto is = std::shared_ptr<InputSource>(
- new BufferInputSource("fuzz input", &this->input_buffer));
+ auto is =
+ std::shared_ptr<InputSource>(new BufferInputSource("fuzz input", &this->input_buffer));
auto qpdf = QPDF::create();
qpdf->processInputSource(is);
return qpdf;
@@ -99,8 +99,7 @@ FuzzHelper::testWrite()
w = getWriter(q);
w->setStaticID(true);
w->setLinearization(true);
- w->setR6EncryptionParameters(
- "u", "o", true, true, true, true, true, true, qpdf_r3p_full, true);
+ w->setR6EncryptionParameters("u", "o", true, true, true, true, true, true, qpdf_r3p_full, true);
doWrite(w);
q = getQpdf();