lib/combine_pdf/decrypt.rb in combine_pdf-1.0.5 vs lib/combine_pdf/decrypt.rb in combine_pdf-1.0.6
- old
+ new
@@ -145,10 +145,10 @@
cipher.decrypt
cipher.key = Digest::MD5.digest(object_key)[(0...key_length)]
cipher.iv = encrypted[0..15]
cipher.padding = 0
cipher.update(encrypted[16..-1]) + cipher.final
- rescue StandardError => e
+ rescue StandardError => _e
# puts e.class.name
encrypted
end
end