summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-22 23:53:57 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commitee7824cf28536b8acf5f47aa76ced348df5f6d35 (patch)
tree18ed3f1f051e89a03df134a0b4adffcc3cb13eea /include
parent021db6f226191e536a84ba6a76590bf5743d5d62 (diff)
downloadqpdf-ee7824cf28536b8acf5f47aa76ced348df5f6d35.tar.zst
QPDFJob: convert encryption_file args to shared pointers
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh
index 86ee470c..ddfab269 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -208,8 +208,8 @@ class QPDFJob
bool suppress_warnings;
bool warnings_exit_zero;
bool copy_encryption;
- char const* encryption_file;
- char const* encryption_file_password;
+ std::string encryption_file;
+ std::shared_ptr<char> encryption_file_password;
bool encrypt;
bool password_is_hex_key;
bool suppress_password_recovery;