]> git.ipfire.org Git - thirdparty/samba.git/commit
libcli/smb: make use of smb2_signing_calc_signature() in smb2_signing_sign_pdu()
authorStefan Metzmacher <metze@samba.org>
Wed, 11 Nov 2020 12:05:27 +0000 (13:05 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 17 Mar 2021 00:49:32 +0000 (00:49 +0000)
commit17b99809b3f19dddef6b780decbbace48e76e12e
treed9e7a2a8ff427324d868dfd3a818801045c5f195
parentf54fb828903a69b9703124b9ecd2514ea0992c45
libcli/smb: make use of smb2_signing_calc_signature() in smb2_signing_sign_pdu()

We only need to logic to calculate the signature once...

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14512

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/smb/smb2_signing.c