summaryrefslogtreecommitdiff
path: root/source4/rpc_server/dcesrv_auth.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-03 09:23:00 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-03 09:23:00 +0100
commit5516191e7251c9f47a81702e3199b1af9c099f72 (patch)
treeca5eba8f274a4bd2d8d5bdf888ab5972cdb33915 /source4/rpc_server/dcesrv_auth.c
parentcb9d048f90a2d1da7134ea7026be3a1a5574a920 (diff)
downloadsamba-5516191e7251c9f47a81702e3199b1af9c099f72.tar.gz
samba-5516191e7251c9f47a81702e3199b1af9c099f72.tar.bz2
samba-5516191e7251c9f47a81702e3199b1af9c099f72.zip
s4:RPC server - cosmetic fixes - indentation, comments
Diffstat (limited to 'source4/rpc_server/dcesrv_auth.c')
-rw-r--r--source4/rpc_server/dcesrv_auth.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/rpc_server/dcesrv_auth.c b/source4/rpc_server/dcesrv_auth.c
index c7f3cdecc1..4c91fcb392 100644
--- a/source4/rpc_server/dcesrv_auth.c
+++ b/source4/rpc_server/dcesrv_auth.c
@@ -395,8 +395,8 @@ bool dcesrv_auth_response(struct dcesrv_call_state *call,
case DCERPC_AUTH_LEVEL_CONNECT:
/*
- * TODO: let the gensec mech decide if it wants to generate a signature
- * that might be needed for schannel...
+ * TODO: let the gensec mech decide if it wants to generate a
+ * signature that might be needed for schannel...
*/
status = ncacn_push_auth(blob, call, pkt, NULL);
return NT_STATUS_IS_OK(status);
@@ -430,7 +430,8 @@ bool dcesrv_auth_response(struct dcesrv_call_state *call,
of the stub */
dce_conn->auth_state.auth_info->auth_pad_length =
(16 - (pkt->u.response.stub_and_verifier.length & 15)) & 15;
- ndr_err = ndr_push_zero(ndr, dce_conn->auth_state.auth_info->auth_pad_length);
+ ndr_err = ndr_push_zero(ndr,
+ dce_conn->auth_state.auth_info->auth_pad_length);
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
return false;
}
@@ -443,7 +444,7 @@ bool dcesrv_auth_response(struct dcesrv_call_state *call,
/* add the auth verifier */
ndr_err = ndr_push_dcerpc_auth(ndr, NDR_SCALARS|NDR_BUFFERS,
- dce_conn->auth_state.auth_info);
+ dce_conn->auth_state.auth_info);
if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
return false;
}