The Samba-Bugzilla – Attachment 1377 Details for
Bug 2996
utils/ntlm_auth.c: "const char **" to "char **" assignments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Type changes in ntlm_auth.c
ntlm.patch (text/plain), 1.02 KB, created by
Jason Mader (mail bounces back)
on 2005-08-15 08:54:21 UTC
(
hide
)
Description:
Type changes in ntlm_auth.c
Filename:
MIME Type:
Creator:
Jason Mader (mail bounces back)
Created:
2005-08-15 08:54:21 UTC
Size:
1.02 KB
patch
obsolete
>Index: utils/ntlm_auth.c >=================================================================== >--- utils/ntlm_auth.c (revision 9303) >+++ utils/ntlm_auth.c (working copy) >@@ -753,7 +753,7 @@ > > /* Server negTokenInit (mech offerings) */ > spnego.type = SPNEGO_NEG_TOKEN_INIT; >- spnego.negTokenInit.mechTypes = SMB_XMALLOC_ARRAY(const char *, 3); >+ spnego.negTokenInit.mechTypes = SMB_XMALLOC_ARRAY(char *, 3); > #ifdef HAVE_KRB5 > spnego.negTokenInit.mechTypes[0] = smb_xstrdup(OID_KERBEROS5_OLD); > spnego.negTokenInit.mechTypes[1] = smb_xstrdup(OID_NTLMSSP); >@@ -1022,7 +1022,7 @@ > DATA_BLOB null_blob = data_blob(NULL, 0); > DATA_BLOB to_server; > char *to_server_base64; >- const char *my_mechs[] = {OID_NTLMSSP, NULL}; >+ char *my_mechs[] = {OID_NTLMSSP, NULL}; > > DEBUG(10, ("Got spnego negTokenInit with NTLMSSP\n")); > >@@ -1305,7 +1305,7 @@ > > /* The server offers a list of mechanisms */ > >- const char **mechType = spnego.negTokenInit.mechTypes; >+ char **mechType = spnego.negTokenInit.mechTypes; > > while (*mechType != NULL) { >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2996
: 1377