Don't use old OpenSSL::Digest::Digest
git-svn-id: file:///home/svn/framework3/trunk@6239 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
8fe4bf88b9
commit
e05b74a00c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue