summaryrefslogtreecommitdiff
path: root/source3/libsmb/smbdes.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-11-25 05:34:12 +0000
committerLuke Leighton <lkcl@samba.org>1999-11-25 05:34:12 +0000
commit30e8faaa8dac9eca2383ec0cda9cd2c9fc65d466 (patch)
treeb75f16f05d2961c1ff57bfda25f3ae36ba8c43d8 /source3/libsmb/smbdes.c
parent75bc1009438c2ff1696205ab0ee5667ec3ef3062 (diff)
downloadsamba-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/libsmb/smbdes.c')
-rw-r--r--source3/libsmb/smbdes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/smbdes.c b/source3/libsmb/smbdes.c
index ba214a2eb0..e60b93d6a2 100644
--- a/source3/libsmb/smbdes.c
+++ b/source3/libsmb/smbdes.c
@@ -259,7 +259,7 @@ static void dohash(char *out, char *in, char *key, int forw)
permute(out, rl, perm6, 64);
}
-static void str_to_key(unsigned char *str,unsigned char *key)
+static void str_to_key(const uchar *str, uchar *key)
{
int i;
@@ -277,7 +277,7 @@ static void str_to_key(unsigned char *str,unsigned char *key)
}
-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)
{
int i;
char outb[64];