From c62aeb6243138c9c429ca1cb18b79e66129be4f8 Mon Sep 17 00:00:00 2001 From: Artem Sidorenko Date: Sat, 13 May 2017 20:57:44 +0200 Subject: [PATCH] Support of OpenSuse Leap 42.2 --- libraries/ssh_crypto.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/ssh_crypto.rb b/libraries/ssh_crypto.rb index 55dbd36..0ad5967 100644 --- a/libraries/ssh_crypto.rb +++ b/libraries/ssh_crypto.rb @@ -54,7 +54,7 @@ def valid_ciphers # rubocop:disable Metrics/CyclomaticComplexity, Metrics/Method case inspec.os[:release] when /13\.2/ ciphers = ciphers66 - when /42\.1/ + when /42\./ ciphers = ciphers66 end when 'mac_os_x' @@ -106,7 +106,7 @@ def valid_kexs # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLen case inspec.os[:release] when /13\.2/ kex = kex66 - when /42\.1/ + when /42\./ kex = kex66 end when 'mac_os_x' @@ -159,7 +159,7 @@ def valid_macs # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLen case inspec.os[:release] when /13\.2/ macs = macs66 - when /42\.1/ + when /42\./ macs = macs66 end when 'mac_os_x' @@ -237,7 +237,7 @@ def valid_algorithms # rubocop:disable Metrics/CyclomaticComplexity, Metrics/Met case inspec.os[:release] when /13\.2/ alg = alg66 - when /42\.1/ + when /42\./ alg = alg66 end when 'mac_os_x'