b9455818eb
fixed boo#1044087; removed wdm dependency; prevent 'have choice' for rubygem-addressable OBS-URL: https://build.opensuse.org/request/show/519591 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vagrant?expand=0&rev=3
27 lines
819 B
Diff
27 lines
819 B
Diff
From 6d269293e37db86325bec0a17502d68838d28214 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
|
|
Date: Tue, 14 Feb 2017 10:33:58 +0100
|
|
Subject: [PATCH] Do not use deprecated API.
|
|
|
|
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
|
---
|
|
lib/vagrant/util/keypair.rb | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
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
|
|
|
|
--
|
|
2.13.3
|
|
|