summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source4/smb_server/signing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smb_server/signing.c b/source4/smb_server/signing.c
index 48a79f94bb..b461056397 100644
--- a/source4/smb_server/signing.c
+++ b/source4/smb_server/signing.c
@@ -130,7 +130,7 @@ static void req_signing_alloc_seq_num(struct smbsrv_request *req)
{
req->seq_num = req->smb_conn->signing.next_seq_num;
- if (req->smb_conn->signing.signing_state != SMB_SIGNING_OFF) {
+ if (req->smb_conn->signing.signing_state != SMB_SIGNING_ENGINE_OFF) {
req->smb_conn->signing.next_seq_num += 2;
}
}
@@ -140,7 +140,7 @@ static void req_signing_alloc_seq_num(struct smbsrv_request *req)
*/
void req_signing_no_reply(struct smbsrv_request *req)
{
- if (req->smb_conn->signing.signing_state != SMB_SIGNING_OFF) {
+ if (req->smb_conn->signing.signing_state != SMB_SIGNING_ENGINE_OFF) {
req->smb_conn->signing.next_seq_num--;
}
}