}
/* Check the incoming SMB signature. */
- if (!srv_check_sign_mac(xconn, *buffer, seqnum, trusted_channel)) {
+ if (!smb1_srv_check_sign_mac(xconn, *buffer, seqnum, trusted_channel)) {
DEBUG(0, ("receive_smb: SMB Signature verification failed on "
"incoming packet!\n"));
return NT_STATUS_INVALID_NETWORK_RESPONSE;
struct smbXsrv_connection;
struct dcesrv_context;
-bool srv_check_sign_mac(struct smbXsrv_connection *conn,
+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,
char *outbuf, uint32_t seqnum);
Called to validate an incoming packet from the client.
************************************************************/
-bool srv_check_sign_mac(struct smbXsrv_connection *conn,
+bool smb1_srv_check_sign_mac(struct smbXsrv_connection *conn,
const char *inbuf, uint32_t *seqnum,
bool trusted_channel)
{