lib/yawast.rb in yawast-0.6.0.beta5 vs lib/yawast.rb in yawast-0.6.0.beta6
- old
+ new
@@ -51,17 +51,9 @@
end
puts ''
end
- def self.set_openssl_options
- #change certain defaults, to make things work better
- #we prefer RSA, to avoid issues with small DH keys
- OpenSSL::SSL::SSLContext::DEFAULT_PARAMS[:ciphers] = 'RSA:ALL:COMPLEMENTOFALL'
- OpenSSL::SSL::SSLContext::DEFAULT_PARAMS[:verify_mode] = OpenSSL::SSL::VERIFY_NONE
- OpenSSL::SSL::SSLContext::DEFAULT_PARAMS[:options] = OpenSSL::SSL::OP_ALL
- end
-
STDOUT.sync = true
trap 'SIGINT' do
puts
puts 'Scan cancelled by user.'