Don't use old OpenSSL::Digest::Digest

git-svn-id: file:///home/svn/framework3/trunk@6239 4d416f70-5f16-0410-b530-b9f4589650da
unstable
kris 2009-02-21 17:48:36 +00:00
parent 8fe4bf88b9
commit e05b74a00c
1 changed files with 2 additions and 2 deletions

View File

@ -55,12 +55,12 @@ begin
def self.md4_hash(data)
raise RuntimeError, "No OpenSSL support" if not @@loaded_openssl
digest = OpenSSL::Digest::Digest.digest('md4', data)
digest = OpenSSL::Digest::MD4.digest(data)
end
def self.md5_hash(data)
raise RuntimeError, "No OpenSSL support" if not @@loaded_openssl
digest = OpenSSL::Digest::Digest.digest('md5', data)
digest = OpenSSL::Digest::MD5.digest(data)
end
def self.lm2nt(pass, ntlm)