aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFJob.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/QPDFJob.hh')
-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;