diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-25 05:34:12 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-25 05:34:12 +0000 |
commit | 30e8faaa8dac9eca2383ec0cda9cd2c9fc65d466 (patch) | |
tree | b75f16f05d2961c1ff57bfda25f3ae36ba8c43d8 /source3/include | |
parent | 75bc1009438c2ff1696205ab0ee5667ec3ef3062 (diff) | |
download | samba-30e8faaa8dac9eca2383ec0cda9cd2c9fc65d466.tar.gz samba-30e8faaa8dac9eca2383ec0cda9cd2c9fc65d466.tar.bz2 samba-30e8faaa8dac9eca2383ec0cda9cd2c9fc65d466.zip |
previous commit added an abstraction function that didn't even have
struct cli_state, uint16 fnum into the code: rpc_hnd_api_req().
modified cli_lsarpc.c to use this. the rest is const issues.
(This used to be commit c1ea396de21309c4cf19fd92f2573f5257c24588)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 3a15e8d689..cb61009a64 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -852,7 +852,7 @@ void pwd_get_lm_nt_owf(struct pwd_info *pwd, uchar lm_owf[24], /*The following definitions come from libsmb/smbdes.c */ -void smbhash(unsigned char *out, const uchar *in, unsigned char *key, int forw); +void smbhash(unsigned char *out, const uchar *in, const uchar *key, int forw); void E_P16(unsigned char *p14,unsigned char *p16); void E_P24(unsigned char *p21, unsigned char *c8, unsigned char *p24); void D_P16(unsigned char *p14, unsigned char *in, unsigned char *out); @@ -894,7 +894,7 @@ void ntv2_owf_gen(const uchar owf[16], uchar kr_buf[16]); void NTLMSSPOWFencrypt(uchar passwd[8], uchar *ntlmchalresp, uchar p24[24]); BOOL make_oem_passwd_hash(char data[516], const char *passwd, uchar old_pw_hash[16], BOOL unicode); -BOOL nt_decrypt_string2(STRING2 *out, const STRING2 *in, char nt_hash[16]); +BOOL nt_decrypt_string2(STRING2 *out, const STRING2 *in, const uchar *key); void create_ntlmssp_resp(struct pwd_info *pwd, char *domain, char *user_name, char *my_name, uint32 ntlmssp_cli_flgs, |