lib/pdf/reader/null_security_handler.rb in pdf-reader-2.8.0 vs lib/pdf/reader/null_security_handler.rb in pdf-reader-2.9.0
- old
+ new
@@ -5,13 +5,9 @@
class PDF::Reader
# A null object security handler. Used when a PDF is unencrypted.
class NullSecurityHandler
- def self.supports?(encrypt)
- encrypt.nil?
- end
-
def decrypt(buf, _ref)
buf
end
end
end