diff options
author | nahi <nahi@ruby-lang.org> | 2011-07-25 04:49:26 +0000 |
---|---|---|
committer | nahi <nahi@ruby-lang.org> | 2011-07-25 04:49:26 +0000 |
commit | a45cf0b659b9dec8c3153d01a65f37822ccb8640 (patch) | |
tree | 83a33cbb28004fdf54f8398371a10bbb0b99af17 /lib | |
parent | 519d3a376a68f6ecdf86a44f3e183b7fd318c08c (diff) | |
download | ruby-openssl-history-a45cf0b659b9dec8c3153d01a65f37822ccb8640.tar.gz |
* 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/trunk@32662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/openssl/x509-internal.rb | 6 | ||||
-rw-r--r-- | lib/openssl/x509.rb | 10 |
2 files changed, 7 insertions, 9 deletions
diff --git a/lib/openssl/x509-internal.rb b/lib/openssl/x509-internal.rb index 11dc2f2..47e3a6f 100644 --- a/lib/openssl/x509-internal.rb +++ b/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/lib/openssl/x509.rb b/lib/openssl/x509.rb index aae75a3..3f17f5a 100644 --- a/lib/openssl/x509.rb +++ b/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' |