s4:librpc: make use of gensec_update_ev()
authorStefan Metzmacher <metze@samba.org>
Fri, 13 Dec 2013 18:36:41 +0000 (19:36 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 26 Mar 2014 23:36:31 +0000 (00:36 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/librpc/rpc/dcerpc_auth.c

index 0714c93a61d7262de52591b46650e14500d1dffc..2d60d38732bdd86432a6d0bb9cd23d180de483f7 100644 (file)
@@ -154,7 +154,7 @@ static void bind_auth_next_step(struct composite_context *c)
        state->pipe->inhibit_timeout_processing = true;
        state->pipe->timed_out = false;
 
-       c->status = gensec_update(sec->generic_state, state,
+       c->status = gensec_update_ev(sec->generic_state, state,
                                  state->pipe->conn->event_ctx,
                                  sec->auth_info->credentials,
                                  &state->credentials);
@@ -375,7 +375,7 @@ struct composite_context *dcerpc_bind_auth_send(TALLOC_CTX *mem_ctx,
 
        state->pipe->inhibit_timeout_processing = true;
        state->pipe->timed_out = false;
-       c->status = gensec_update(sec->generic_state, state,
+       c->status = gensec_update_ev(sec->generic_state, state,
                                  p->conn->event_ctx,
                                  sec->auth_info->credentials,
                                  &state->credentials);