* ext/openssl/ossl_{ssl.[ch],ssl_session.c}},

ext/openssl/lib/openssl/lib/openssl/ssl.rb:
  New SSL::Session class.  Add session cb's, getter/setters,
  config, and statistics methods.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
technorama 2007-04-02 22:10:12 +00:00
parent 3930d3b36b
commit a05e89ca65
5 changed files with 723 additions and 7 deletions

View file

@ -90,6 +90,12 @@ module OpenSSL
end
raise SSLError, "hostname not match"
end
def session
SSL::Session.new(self)
rescue SSL::Session::SessionError
nil
end
end
class SSLServer