mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-09 00:32:06 -04:00
Do not use deprecated API.
This commit is contained in:
parent
7187e6f909
commit
408bc4e6be
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue