From 31e15f76063304e4bcffb3c6c5e7b28d26cc44e5 Mon Sep 17 00:00:00 2001 From: knu Date: Sat, 1 Dec 2001 14:07:01 +0000 Subject: 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 --- lib/net/pop.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/net/pop.rb') 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 -- cgit v1.2.3