From e05b74a00cc74ab483d9cea58373b36136a11bfb Mon Sep 17 00:00:00 2001 From: kris <> Date: Sat, 21 Feb 2009 17:48:36 +0000 Subject: [PATCH] Don't use old OpenSSL::Digest::Digest git-svn-id: file:///home/svn/framework3/trunk@6239 4d416f70-5f16-0410-b530-b9f4589650da --- lib/rex/proto/smb/crypt.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rex/proto/smb/crypt.rb b/lib/rex/proto/smb/crypt.rb index 77400c6a4a..4ab79852d7 100644 --- a/lib/rex/proto/smb/crypt.rb +++ b/lib/rex/proto/smb/crypt.rb @@ -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)