diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-02-08 11:47:52 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2004-02-08 11:47:52 +0000 |
commit | b655b99f7c3e534a18393d562073a6d05488f090 (patch) | |
tree | e1603cc95fe0c13559bde8edcc74748e637f5ec0 /source3/libsmb/smbencrypt.c | |
parent | 72ee7bfd6d2d6219236f4cdcef2570c0eae47f83 (diff) | |
download | samba-b655b99f7c3e534a18393d562073a6d05488f090.tar.gz samba-b655b99f7c3e534a18393d562073a6d05488f090.tar.bz2 samba-b655b99f7c3e534a18393d562073a6d05488f090.zip |
(merge from 3.0)
Remove unused utility function.
Andrew Bartlett
(This used to be commit af8248e67bb0f83124dcd250fee5d06a12fe257b)
Diffstat (limited to 'source3/libsmb/smbencrypt.c')
-rw-r--r-- | source3/libsmb/smbencrypt.c | 13 |
1 files changed, 0 insertions, 13 deletions
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, |