1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/net/https.rb: supress syntax warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2008-08-12 05:20:09 +00:00
parent 08795f9ceb
commit ae04e36638
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,12 @@
Tue Aug 12 14:19:53 2008 Minero Aoki <aamine@loveruby.net>
* lib/net/https.rb: supress syntax warning.
Tue Aug 12 14:15:51 2008 Minero Aoki <aamine@loveruby.net>
* lib/net/http.rb (Net::HTTP#initialize): initialize net/https
variables to supress syntax warning.
Tue Aug 12 14:15:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* ext/dl/cptr.c (rb_dlptr_s_to_ptr): fixed shadowing variable.

View file

@ -124,7 +124,7 @@ module Net
ssl_version key cert ca_file ca_path cert_store ciphers
verify_mode verify_callback verify_depth ssl_timeout
)
attr_accessor *SSL_ATTRIBUTES
attr_accessor(*SSL_ATTRIBUTES)
def peer_cert
if not use_ssl? or not @socket