diff --git a/ChangeLog b/ChangeLog index 44e1c423b2..0d462126c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +Tue Aug 12 14:19:53 2008 Minero Aoki + + * lib/net/https.rb: supress syntax warning. + +Tue Aug 12 14:15:51 2008 Minero Aoki + + * lib/net/http.rb (Net::HTTP#initialize): initialize net/https + variables to supress syntax warning. + Tue Aug 12 14:15:13 2008 Nobuyoshi Nakada * ext/dl/cptr.c (rb_dlptr_s_to_ptr): fixed shadowing variable. diff --git a/lib/net/https.rb b/lib/net/https.rb index 7477df1780..897bbb744b 100644 --- a/lib/net/https.rb +++ b/lib/net/https.rb @@ -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