1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-03 01:18:10 +03:00

smbXcli: Remove unreachable code (CID 1444978)

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-10-06 12:48:40 +13:00 committed by Andrew Bartlett
parent 86f8cde6b3
commit b28a268b45

View File

@ -5447,13 +5447,6 @@ static void smbXcli_negprot_smb2_done(struct tevent_req *subreq)
}
}
if (rc < 0) {
gnutls_hash_deinit(hash_hnd, NULL);
tevent_req_nterror(req,
gnutls_error_to_ntstatus(rc, NT_STATUS_HASH_NOT_SUPPORTED));
return;
}
/* This resets the hash state */
gnutls_hash_output(hash_hnd, conn->smb2.preauth_sha512);
TALLOC_FREE(subreq);