diff options
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 |