Bug 2340 - libsmb/ntlmssp_sign.c: "unsigned char *" is incompatible with "const char *"
Summary: libsmb/ntlmssp_sign.c: "unsigned char *" is incompatible with "const char *"
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: libsmbclient (show other bugs)
Version: 3.0.11
Hardware: SGI IRIX
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-13 13:58 UTC by Jason Mader (mail bounces back)
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 (mail bounces back) 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 (dead mail address) 2005-02-17 08:31:21 UTC
thanks.  got it.
Comment 2 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:17:07 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.