# File ../../auditor/lib/kasp_auditor/auditor.rb, line 653 def Auditor.match_key_config(key, configured_keys) # See if we can match our key against any of the configured keys. # We're looking for algorithm and alg_length begin configured_keys.each {|configured_key| if (configured_key.algorithm == key.algorithm) && (configured_key.alg_length == key.key_length) return true end } return false rescue NoMethodError return true # Omit this test - this version of Dnsruby does not have the key_length method end end