s4:dns_server: make use of gensec_update_ev()
authorStefan Metzmacher <metze@samba.org>
Fri, 13 Dec 2013 18:35:07 +0000 (19:35 +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/dns_server/dlz_bind9.c
source4/dns_server/dns_query.c

index ea00cfd8b76d84316bcd9221e06405bd4e8d935d..f5ceb6a581d9f1cb410fa1da8fe2e73fa3015938 100644 (file)
@@ -1311,7 +1311,7 @@ _PUBLIC_ isc_boolean_t dlz_ssumatch(const char *signer, const char *name, const
                return ISC_FALSE;
        }
 
-       nt_status = gensec_update(gensec_ctx, tmp_ctx, state->ev_ctx, ap_req, &ap_req);
+       nt_status = gensec_update_ev(gensec_ctx, tmp_ctx, state->ev_ctx, ap_req, &ap_req);
        if (!NT_STATUS_IS_OK(nt_status)) {
                state->log(ISC_LOG_ERROR, "samba_dlz: spnego update failed");
                talloc_free(tmp_ctx);
index 77f797bf5b256689039284a8cff2561fd354556d..b57cdb8bc701a4dd409b2dbbfb89058129462e03 100644 (file)
@@ -414,8 +414,8 @@ static NTSTATUS accept_gss_ticket(TALLOC_CTX *mem_ctx,
 {
        NTSTATUS status;
 
-       status = gensec_update(tkey->gensec, mem_ctx, dns->task->event_ctx,
-                              *key, reply);
+       status = gensec_update_ev(tkey->gensec, mem_ctx, dns->task->event_ctx,
+                                 *key, reply);
 
        if (NT_STATUS_EQUAL(NT_STATUS_MORE_PROCESSING_REQUIRED, status)) {
                *dns_auth_error = DNS_RCODE_OK;