Do not use deprecated API.

This commit is contained in:
Vít Ondruch 2017-02-14 10:33:58 +01:00 committed by Brian Cain
parent 7187e6f909
commit 408bc4e6be
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ module Vagrant
private_key = rsa_key.to_pem
if password
cipher = OpenSSL::Cipher::Cipher.new('des3')
cipher = OpenSSL::Cipher.new('des3')
private_key = rsa_key.to_pem(cipher, password)
end