diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-02-08 00:58:56 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2004-02-08 00:58:56 +0000 |
commit | 7540296fd491f4a474d7afa823f7ca522aa2f390 (patch) | |
tree | 970fdf4f5dbca3fe9dd6b3bd399847acfebb426f /source3/libsmb/smbencrypt.c | |
parent | e45c217a14c0c6cb2456f04138b2fd55288b1dd4 (diff) | |
download | samba-7540296fd491f4a474d7afa823f7ca522aa2f390.tar.gz samba-7540296fd491f4a474d7afa823f7ca522aa2f390.tar.xz samba-7540296fd491f4a474d7afa823f7ca522aa2f390.zip |
Remove unused utility function.
Andrew Bartlett
(This used to be commit 4c4aa80177e05ed7900e9f24673a62064128c736)
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 1d192b816a6..c5acedae51c 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, |