git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CVE-2016-2113: s4:lib/tls: implement infrastructure to do peer verification
[samba.git]
/
source4
/
librpc
/
rpc
/
dcerpc_roh.c
diff --git
a/source4/librpc/rpc/dcerpc_roh.c
b/source4/librpc/rpc/dcerpc_roh.c
index 61a22a799444d26f433c53912c7a67c323e1917d..c4842fb8cb64c04344066b378883982f0e15fc55 100644
(file)
--- a/
source4/librpc/rpc/dcerpc_roh.c
+++ b/
source4/librpc/rpc/dcerpc_roh.c
@@
-187,6
+187,8
@@
struct tevent_req *dcerpc_pipe_open_roh_send(struct dcecli_connection *conn,
if (use_tls) {
status = tstream_tls_params_client(state->roh, NULL, NULL,
lpcfg_tls_priority(lp_ctx),
+ TLS_VERIFY_PEER_NO_CHECK,
+ NULL,
&state->tls_params);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("%s: Failed tstream_tls_params_client - %s\n",