diff options
author | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-25 04:51:26 +0000 |
---|---|---|
committer | nahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-25 04:51:26 +0000 |
commit | 8ca6536703c1fd95ee8c830e6e2356df1f3054b2 (patch) | |
tree | 9e832698299340971a554685378b4ee10eab4b16 | |
parent | ca9f321901c8bf8054f0eba3402f8eb17f184e22 (diff) |
* backport r32662 from trunk.
* ext/openssl/lib/openssl/x509.rb: Cosmetic change: move definition
introduced in r30152 to x509-internal.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ext/openssl/lib/openssl/x509-internal.rb | 6 | ||||
-rw-r--r-- | ext/openssl/lib/openssl/x509.rb | 10 |
3 files changed, 14 insertions, 9 deletions
@@ -1,3 +1,10 @@ +Mon Jul 25 13:50:33 2011 Hiroshi Nakamura <nahi@ruby-lang.org> + + * backport r32662 from trunk. + + * ext/openssl/lib/openssl/x509.rb: Cosmetic change: move definition + introduced in r30152 to x509-internal.rb. + Mon Jul 25 13:35:20 2011 Hiroshi Nakamura <nahi@ruby-lang.org> * backport r32658 from trunk. diff --git a/ext/openssl/lib/openssl/x509-internal.rb b/ext/openssl/lib/openssl/x509-internal.rb index 11dc2f2722..47e3a6f876 100644 --- a/ext/openssl/lib/openssl/x509-internal.rb +++ b/ext/openssl/lib/openssl/x509-internal.rb @@ -148,5 +148,11 @@ module OpenSSL alias parse parse_openssl end end + + class StoreContext + def cleanup + warn "(#{caller.first}) OpenSSL::X509::StoreContext#cleanup is deprecated with no replacement" if $VERBOSE + end + end end end diff --git a/ext/openssl/lib/openssl/x509.rb b/ext/openssl/lib/openssl/x509.rb index aae75a366e..3f17f5aa29 100644 --- a/ext/openssl/lib/openssl/x509.rb +++ b/ext/openssl/lib/openssl/x509.rb @@ -1,9 +1 @@ -module OpenSSL - module X509 - class StoreContext - def cleanup - warn "(#{caller.first}) OpenSSL::X509::StoreContext#cleanup is deprecated with no replacement" if $VERBOSE - end - end - end -end +require 'openssl' |