]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: Rename srv_check_sign_mac() -> smb1_srv_check_sign_mac().
authorJeremy Allison <jra@samba.org>
Tue, 8 Mar 2022 03:43:10 +0000 (19:43 -0800)
committerDavid Mulder <dmulder@samba.org>
Tue, 8 Mar 2022 22:12:37 +0000 (22:12 +0000)
Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: David Mulder <dmulder@samba.org>
source3/smbd/process.c
source3/smbd/proto.h
source3/smbd/signing.c

index fdfcc954b540e1ad3c47ea10c25ba137d1367257..aa71f339b7d700ecbe93da8f7f345f35707cbc5e 100644 (file)
@@ -574,7 +574,7 @@ static NTSTATUS receive_smb_talloc(TALLOC_CTX *mem_ctx,
        }
 
        /* 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;
index 6acf70452b8188149387846427cad63f2fa83f0d..b6e40b2c7271f93afb0025f48ed33ba3dfada5fe 100644 (file)
@@ -52,7 +52,7 @@ struct smbXsrv_client;
 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);
index c05c3a37b96d89d3f2606e917f1771378886b1aa..8869131374b08545c4ab0d343601f6346304d434 100644 (file)
@@ -29,7 +29,7 @@
  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)
 {