diff --git a/source4/dns_server/dlz_bind9.c b/source4/dns_server/dlz_bind9.c index ea00cfd8b76..f5ceb6a581d 100644 --- a/source4/dns_server/dlz_bind9.c +++ b/source4/dns_server/dlz_bind9.c @@ -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); diff --git a/source4/dns_server/dns_query.c b/source4/dns_server/dns_query.c index 77f797bf5b2..b57cdb8bc70 100644 --- a/source4/dns_server/dns_query.c +++ b/source4/dns_server/dns_query.c @@ -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;