Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
906ca705
Commit
906ca705
authored
Oct 05, 2006
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Cast-qual warnings fix.
parent
b85e3fe4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
bind.c
dlls/wldap32/bind.c
+10
-2
No files found.
dlls/wldap32/bind.c
View file @
906ca705
...
...
@@ -303,6 +303,7 @@ ULONG CDECL ldap_sasl_bindW( WLDAP32_LDAP *ld, const PWCHAR dn,
#ifdef HAVE_LDAP
char
*
dnU
,
*
mechanismU
=
NULL
;
LDAPControl
**
serverctrlsU
=
NULL
,
**
clientctrlsU
=
NULL
;
struct
berval
credU
;
ret
=
WLDAP32_LDAP_NO_MEMORY
;
...
...
@@ -327,7 +328,10 @@ ULONG CDECL ldap_sasl_bindW( WLDAP32_LDAP *ld, const PWCHAR dn,
if
(
!
clientctrlsU
)
goto
exit
;
}
ret
=
ldap_sasl_bind
(
ld
,
dnU
,
mechanismU
,
(
struct
berval
*
)
cred
,
credU
.
bv_len
=
cred
->
bv_len
;
credU
.
bv_val
=
cred
->
bv_val
;
ret
=
ldap_sasl_bind
(
ld
,
dnU
,
mechanismU
,
&
credU
,
serverctrlsU
,
clientctrlsU
,
message
);
exit:
...
...
@@ -419,6 +423,7 @@ ULONG CDECL ldap_sasl_bind_sW( WLDAP32_LDAP *ld, const PWCHAR dn,
#ifdef HAVE_LDAP
char
*
dnU
,
*
mechanismU
=
NULL
;
LDAPControl
**
serverctrlsU
=
NULL
,
**
clientctrlsU
=
NULL
;
struct
berval
credU
;
ret
=
WLDAP32_LDAP_NO_MEMORY
;
...
...
@@ -443,7 +448,10 @@ ULONG CDECL ldap_sasl_bind_sW( WLDAP32_LDAP *ld, const PWCHAR dn,
if
(
!
clientctrlsU
)
goto
exit
;
}
ret
=
ldap_sasl_bind_s
(
ld
,
dnU
,
mechanismU
,
(
struct
berval
*
)
cred
,
credU
.
bv_len
=
cred
->
bv_len
;
credU
.
bv_val
=
cred
->
bv_val
;
ret
=
ldap_sasl_bind_s
(
ld
,
dnU
,
mechanismU
,
&
credU
,
serverctrlsU
,
clientctrlsU
,
(
struct
berval
**
)
serverdata
);
exit:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment