diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openssl/lib/openssl/digest.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/openssl/lib/openssl/digest.rb b/ext/openssl/lib/openssl/digest.rb index 80b58af5da..5b3b06460c 100644 --- a/ext/openssl/lib/openssl/digest.rb +++ b/ext/openssl/lib/openssl/digest.rb @@ -59,15 +59,15 @@ module OpenSSL const_set(name, klass) } - # This class is only provided for backwards compatibility. + # Deprecated. # - # Use OpenSSL::Digest in the future. + # This class is only provided for backwards compatibility. class Digest < Digest # :nodoc: # Deprecated. # # See OpenSSL::Digest.new def initialize(*args) - # add warning + warn('Digest::Digest is deprecated; use Digest') super(*args) end end |