diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/smtp.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index 4b70f9e11a..89740411bd 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -2,7 +2,8 @@ = net/smtp.rb -Copyright (c) 1999-2002 Yukihiro Matsumoto +Copyright (c) 1999-2003 Yukihiro Matsumoto +Copyright (c) 1999-2003 Minero Aoki written & maintained by Minero Aoki <aamine@loveruby.net> @@ -362,7 +363,7 @@ module Net tmp = Digest::MD5.digest(isecret + challenge) tmp = Digest::MD5.hexdigest(osecret + tmp) - getok [user + ' ' + tmp].pack('m').chomp + getok [user + ' ' + tmp].pack('m').gsub(/\s+/, '') } end |