From 8c30497aaefac8e4b11fd1f564509c75bb6a249b Mon Sep 17 00:00:00 2001 From: nahi Date: Mon, 25 Jul 2011 04:49:26 +0000 Subject: * 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 --- ChangeLog | 5 +++++ ext/openssl/lib/openssl/x509-internal.rb | 6 ++++++ ext/openssl/lib/openssl/x509.rb | 10 +--------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/ChangeLog b/ChangeLog index 77e3575bb2..87c965b100 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Jul 25 13:46:38 2011 Hiroshi Nakamura + + * ext/openssl/lib/openssl/x509.rb: Cosmetic change: move definition + introduced in r30152 to x509-internal.rb. + Mon Jul 25 13:09:42 2011 Hiroshi Nakamura * ext/openssl/ossl_ssl.c (ossl_ssl_shutdown): Avoid randomly generated 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' -- cgit v1.2.3