diff options
Diffstat (limited to 'libqpdf/QPDF_encryption.cc')
-rw-r--r-- | libqpdf/QPDF_encryption.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/QPDF_encryption.cc b/libqpdf/QPDF_encryption.cc index f6abf5ae..fff35c67 100644 --- a/libqpdf/QPDF_encryption.cc +++ b/libqpdf/QPDF_encryption.cc @@ -206,7 +206,7 @@ iterate_rc4(unsigned char* data, size_t data_len, { PointerHolder<unsigned char> key_ph = PointerHolder<unsigned char>( true, new unsigned char[QIntC::to_size(key_len)]); - unsigned char* key = key_ph.getPointer(); + unsigned char* key = key_ph.get(); for (int i = 0; i < iterations; ++i) { int const xor_value = (reverse ? iterations - 1 - i : i); |