diff options
author | Andreas Schneider <asn@samba.org> | 2019-01-15 15:42:09 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-01-28 10:29:26 +0100 |
commit | 6a332618b67987f1c5ff659c9ffbd348cd1fd2a2 (patch) | |
tree | cb12717824f2cd947c850bf89d86bbbdff665143 /libcli | |
parent | 8c774f5a5d63239f57ef06e3451fbab66a9ed2e5 (diff) | |
download | samba-6a332618b67987f1c5ff659c9ffbd348cd1fd2a2.tar.gz |
libcli:smb: Use C99 initializer for derivation in smbXcli_base
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Diffstat (limited to 'libcli')
-rw-r--r-- | libcli/smb/smbXcli_base.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libcli/smb/smbXcli_base.c b/libcli/smb/smbXcli_base.c index a237bf17d0a..3118365871a 100644 --- a/libcli/smb/smbXcli_base.c +++ b/libcli/smb/smbXcli_base.c @@ -5797,7 +5797,9 @@ NTSTATUS smb2cli_session_set_session_key(struct smbXcli_session *session, struct _derivation encryption; struct _derivation decryption; struct _derivation application; - } derivation = { }; + } derivation = { + .signing.label.length = 0, + }; size_t nonce_size = 0; if (conn == NULL) { @@ -6081,7 +6083,9 @@ NTSTATUS smb2cli_session_set_channel_key(struct smbXcli_session *session, }; struct { struct _derivation signing; - } derivation = { }; + } derivation = { + .signing.label.length = 0, + }; if (conn == NULL) { return NT_STATUS_INVALID_PARAMETER_MIX; |