diff options
Diffstat (limited to 'libqpdf/Pl_RC4.cc')
-rw-r--r-- | libqpdf/Pl_RC4.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/Pl_RC4.cc b/libqpdf/Pl_RC4.cc index 823b22ea..ba0cb201 100644 --- a/libqpdf/Pl_RC4.cc +++ b/libqpdf/Pl_RC4.cc @@ -18,7 +18,7 @@ Pl_RC4::Pl_RC4( void Pl_RC4::write(unsigned char const* data, size_t len) { - if (this->outbuf.get() == nullptr) { + if (this->outbuf == nullptr) { throw std::logic_error( this->identifier + ": Pl_RC4: write() called after finish() called"); |