Skip to content

Commit 2b92ceb

Browse files
committed
remove deprecation warning for OpenSSL::Cipher (based on pluginaweek#4)
1 parent e36e8d0 commit 2b92ceb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/encrypted_strings/symmetric_cipher.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def encrypt(data)
9393

9494
private
9595
def build_cipher(type) #:nodoc:
96-
cipher = OpenSSL::Cipher::Cipher.new(algorithm).send(type)
96+
cipher = OpenSSL::Cipher.new(algorithm).send(type)
9797
cipher.pkcs5_keyivgen(password)
9898
cipher
9999
end

0 commit comments

Comments
 (0)