mirror of
https://github.com/samba-team/samba.git
synced 2025-02-10 13:57:47 +03:00
r4259: Fix cast in SMB_XMALLOC_ARRAY. Bugzilla #2168.
This commit is contained in:
parent
4f10666295
commit
0c3bb181e8
@ -753,7 +753,7 @@ static void offer_gss_spnego_mechs(void) {
|
||||
|
||||
/* Server negTokenInit (mech offerings) */
|
||||
spnego.type = SPNEGO_NEG_TOKEN_INIT;
|
||||
spnego.negTokenInit.mechTypes = SMB_XMALLOC_ARRAY(char *, 3);
|
||||
spnego.negTokenInit.mechTypes = SMB_XMALLOC_ARRAY(const char *, 3);
|
||||
#ifdef HAVE_KRB5
|
||||
spnego.negTokenInit.mechTypes[0] = smb_xstrdup(OID_KERBEROS5_OLD);
|
||||
spnego.negTokenInit.mechTypes[1] = smb_xstrdup(OID_NTLMSSP);
|
||||
|
Loading…
x
Reference in New Issue
Block a user