Bug 2340 - libsmb/ntlmssp_sign.c: "unsigned char *" is incompatible with "const char *"
libsmb/ntlmssp_sign.c: "unsigned char *" is incompatible with "const char *"
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: libsmbclient
3.0.11
SGI IRIX
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-13 13:58 UTC by Jason Mader
Modified: 2005-08-24 10:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader 2005-02-13 13:58:25 UTC
cc-1164 cc: WARNING File = libsmb/ntlmssp_sign.c, Line = 97
  Argument of type "unsigned char *" is incompatible with parameter of type
          "const char *".

        calc_hash(hash, digest, 16);
                        ^


In other uses of the calc_hash() function in ntlmssp_sign.c the second parameter
is always typecast to (const char *)
Comment 1 Gerald (Jerry) Carter 2005-02-17 08:31:21 UTC
thanks.  got it.
Comment 2 Gerald (Jerry) Carter 2005-08-24 10:17:07 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.