lib/ronin/network/ssl.rb in ronin-support-0.5.1 vs lib/ronin/network/ssl.rb in ronin-support-0.5.2
- old
+ new
@@ -1,22 +1,22 @@
#
-# Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
+# Copyright (c) 2006-2021 Hal Brodigan (postmodern.mod3 at gmail.com)
#
-# This file is part of Ronin Support.
+# This file is part of ronin-support.
#
-# Ronin Support is free software: you can redistribute it and/or modify
+# ronin-support is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
-# Ronin Support is distributed in the hope that it will be useful,
+# ronin-support is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
-# along with Ronin Support. If not, see <http://www.gnu.org/licenses/>.
+# along with ronin-support. If not, see <https://www.gnu.org/licenses/>.
#
require 'ronin/network/tcp'
begin
@@ -96,11 +96,11 @@
# the new SSL Socket.
#
# @example
# socket = ssl_connect('twitter.com',443)
#
- # @see http://rubydoc.info/stdlib/openssl/OpenSSL/SSL/SSLSocket
+ # @see https://rubydoc.info/stdlib/openssl/OpenSSL/SSL/SSLSocket
#
# @api public
#
def ssl_connect(host,port,options={})
local_host = options[:local_host]
@@ -170,10 +170,10 @@
# sock.write("GET / HTTP/1.1\n\r\n\r")
#
# sock.each_line { |line| puts line }
# end
#
- # @see http://rubydoc.info/stdlib/openssl/OpenSSL/SSL/SSLSocket
+ # @see https://rubydoc.info/stdlib/openssl/OpenSSL/SSL/SSLSocket
#
# @api public
#
def ssl_session(host,port,options={},&block)
ssl_socket = ssl_connect(host,port,options,&block)