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

smb2_server: Remove unreachable code (CID 1444981)

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:49:32 +13:00 committed by Andrew Bartlett
parent 68fb12cb79
commit 7774ca87e7

View File

@ -3809,10 +3809,6 @@ static NTSTATUS smbd_smb2_request_reply(struct smbd_smb2_request *req)
return gnutls_error_to_ntstatus(rc, NT_STATUS_HASH_NOT_SUPPORTED);
}
}
if (rc < 0) {
gnutls_hash_deinit(hash_hnd, NULL);
return gnutls_error_to_ntstatus(rc, NT_STATUS_HASH_NOT_SUPPORTED);
}
gnutls_hash_output(hash_hnd, req->preauth->sha512_value);
rc = gnutls_hash(hash_hnd,