mirror of
https://github.com/samba-team/samba.git
synced 2025-08-24 21:49:29 +03:00
s3: smbd: Rename srv_calculate_sign_mac() -> smb1_srv_calculate_sign_mac().
Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: David Mulder <dmulder@samba.org>
This commit is contained in:
committed by
David Mulder
parent
777fbb3753
commit
fa9c48ae4d
@ -234,7 +234,7 @@ bool srv_send_smb(struct smbXsrv_connection *xconn, char *buffer,
|
||||
NTSTATUS status;
|
||||
|
||||
/* Sign the outgoing packet if required. */
|
||||
status = srv_calculate_sign_mac(xconn, buf_out, seqnum);
|
||||
status = smb1_srv_calculate_sign_mac(xconn, buf_out, seqnum);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DBG_ERR("Failed to calculate signing mac: %s\n",
|
||||
nt_errstr(status));
|
||||
|
@ -54,7 +54,7 @@ struct dcesrv_context;
|
||||
|
||||
bool smb1_srv_check_sign_mac(struct smbXsrv_connection *conn,
|
||||
const char *inbuf, uint32_t *seqnum, bool trusted_channel);
|
||||
NTSTATUS srv_calculate_sign_mac(struct smbXsrv_connection *conn,
|
||||
NTSTATUS smb1_srv_calculate_sign_mac(struct smbXsrv_connection *conn,
|
||||
char *outbuf, uint32_t seqnum);
|
||||
void srv_cancel_sign_response(struct smbXsrv_connection *conn);
|
||||
bool srv_init_signing(struct smbXsrv_connection *conn);
|
||||
|
@ -75,7 +75,7 @@ bool smb1_srv_check_sign_mac(struct smbXsrv_connection *conn,
|
||||
Called to sign an outgoing packet to the client.
|
||||
************************************************************/
|
||||
|
||||
NTSTATUS srv_calculate_sign_mac(struct smbXsrv_connection *conn,
|
||||
NTSTATUS smb1_srv_calculate_sign_mac(struct smbXsrv_connection *conn,
|
||||
char *outbuf, uint32_t seqnum)
|
||||
{
|
||||
uint8_t *outhdr;
|
||||
|
Reference in New Issue
Block a user