From 14c7d19b6302cfa42eba5bdebb1d588d6c148f80 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 14 Jan 2019 13:44:40 +0100 Subject: [PATCH] auth:gensec: Use C99 initializer in schannel Signed-off-by: Andreas Schneider Reviewed-by: Douglas Bagnall --- auth/gensec/schannel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/auth/gensec/schannel.c b/auth/gensec/schannel.c index 71e9afdf48e..364a0fcc186 100644 --- a/auth/gensec/schannel.c +++ b/auth/gensec/schannel.c @@ -504,7 +504,9 @@ static NTSTATUS schannel_update_internal(struct gensec_security *gensec_security struct schannel_state); NTSTATUS status; enum ndr_err_code ndr_err; - struct NL_AUTH_MESSAGE bind_schannel = {}; + struct NL_AUTH_MESSAGE bind_schannel = { + .Flags = 0, + }; struct NL_AUTH_MESSAGE bind_schannel_ack; struct netlogon_creds_CredentialState *creds; const char *workstation;