auth:gensec: Use C99 initializer in schannel
authorAndreas Schneider <asn@samba.org>
Mon, 14 Jan 2019 12:44:40 +0000 (13:44 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 28 Jan 2019 09:29:21 +0000 (10:29 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
auth/gensec/schannel.c

index 71e9afdf48ee89d22af0ad6b2703a670f49d709e..364a0fcc1860eb563329c5401b8019197f5be827 100644 (file)
@@ -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 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;
        struct NL_AUTH_MESSAGE bind_schannel_ack;
        struct netlogon_creds_CredentialState *creds;
        const char *workstation;