diff --git a/lib/vagrant/util/keypair.rb b/lib/vagrant/util/keypair.rb index 342d3264f..5e3d10ea6 100644 --- a/lib/vagrant/util/keypair.rb +++ b/lib/vagrant/util/keypair.rb @@ -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