diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-01 14:07:01 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-12-01 14:07:01 +0000 |
commit | 31e15f76063304e4bcffb3c6c5e7b28d26cc44e5 (patch) | |
tree | b356ffec163f79faf0c3a7c980f459d24077b941 /lib/net/pop.rb | |
parent | 3dfb98cea26048453641e0f3e5f795d9568420d4 (diff) | |
download | ruby-31e15f76063304e4bcffb3c6c5e7b28d26cc44e5.tar.gz |
Reflect the update of the MD5 module which is now Digest::MD5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/pop.rb')
-rw-r--r-- | lib/net/pop.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/pop.rb b/lib/net/pop.rb index df46f06934..e55da89c10 100644 --- a/lib/net/pop.rb +++ b/lib/net/pop.rb @@ -288,7 +288,7 @@ A class of mail which exists on POP server. =end require 'net/protocol' -require 'md5' +require 'digest/md5' module Net @@ -572,7 +572,7 @@ module Net critical { @socket.writeline sprintf( 'APOP %s %s', account, - MD5.new(@stamp + pass).hexdigest ) + Digest::MD5.hexdigest(@stamp + pass) ) check_reply_auth } end |