From 5479ea83a9ef86d46c47af0ac792d2f2a7ac8f34 Mon Sep 17 00:00:00 2001 From: Artem Sidorenko Date: Sun, 5 Feb 2017 20:18:52 +0100 Subject: [PATCH] Proper tests for Opensuse leap 42.1 --- libraries/ssh_crypto.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libraries/ssh_crypto.rb b/libraries/ssh_crypto.rb index a2ef2dc..55dbd36 100644 --- a/libraries/ssh_crypto.rb +++ b/libraries/ssh_crypto.rb @@ -54,6 +54,8 @@ def valid_ciphers # rubocop:disable Metrics/CyclomaticComplexity, Metrics/Method case inspec.os[:release] when /13\.2/ ciphers = ciphers66 + when /42\.1/ + ciphers = ciphers66 end when 'mac_os_x' case inspec.os[:release] @@ -104,6 +106,8 @@ def valid_kexs # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLen case inspec.os[:release] when /13\.2/ kex = kex66 + when /42\.1/ + kex = kex66 end when 'mac_os_x' case inspec.os[:release] @@ -155,6 +159,8 @@ def valid_macs # rubocop:disable Metrics/CyclomaticComplexity, Metrics/MethodLen case inspec.os[:release] when /13\.2/ macs = macs66 + when /42\.1/ + macs = macs66 end when 'mac_os_x' case inspec.os[:release] @@ -231,6 +237,8 @@ def valid_algorithms # rubocop:disable Metrics/CyclomaticComplexity, Metrics/Met case inspec.os[:release] when /13\.2/ alg = alg66 + when /42\.1/ + alg = alg66 end when 'mac_os_x' case inspec.os[:release]