diff options
-rw-r--r-- | source3/smbd/globals.h | 1 | ||||
-rw-r--r-- | source3/smbd/smb2_server.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 7b2d31d6aa..ac8a1b2b18 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -456,6 +456,7 @@ struct smbd_smb2_request { int current_idx; bool do_signing; + bool do_encryption; struct tevent_timer *async_te; bool cancelled; bool compound_related; diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index 4849211e22..a84776afba 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -1042,6 +1042,7 @@ static struct smbd_smb2_request *dup_smb2_req(const struct smbd_smb2_request *re newreq->sconn = req->sconn; newreq->session = req->session; + newreq->do_encryption = req->do_encryption; newreq->do_signing = req->do_signing; newreq->current_idx = req->current_idx; |