From b655b99f7c3e534a18393d562073a6d05488f090 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sun, 8 Feb 2004 11:47:52 +0000 Subject: (merge from 3.0) Remove unused utility function. Andrew Bartlett (This used to be commit af8248e67bb0f83124dcd250fee5d06a12fe257b) --- source3/libsmb/smbencrypt.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source3/libsmb') diff --git a/source3/libsmb/smbencrypt.c b/source3/libsmb/smbencrypt.c index 1d192b816a..c5acedae51 100644 --- a/source3/libsmb/smbencrypt.c +++ b/source3/libsmb/smbencrypt.c @@ -226,19 +226,6 @@ void SMBNTencrypt(const char *passwd, uchar *c8, uchar *p24) #endif } -BOOL make_oem_passwd_hash(char data[516], const char *passwd, uchar old_pw_hash[16], BOOL unicode) -{ - encode_pw_buffer(data, passwd, (unicode?STR_UNICODE:STR_ASCII)); - -#ifdef DEBUG_PASSWORD - DEBUG(100,("make_oem_passwd_hash\n")); - dump_data(100, data, 516); -#endif - SamOEMhash( (unsigned char *)data, (unsigned char *)old_pw_hash, 516); - - return True; -} - /* Does the md5 encryption from the Key Response for NTLMv2. */ void SMBOWFencrypt_ntv2(const uchar kr[16], const DATA_BLOB *srv_chal, -- cgit