make smb_signing more generic...
[metze/samba/wip.git] / source / smb_server / smb / receive.c
index fd2810e54a3810cbc98bce3b704e654075b0c5c4..37eb76d3ece5231eede31273351b2bed5f1f2fe2 100644 (file)
@@ -533,7 +533,7 @@ static void switch_message(int type, struct smbsrv_request *req)
                 * so just skip the reply
                 */
                if ((flags & SIGNING_NO_REPLY) &&
-                   (req->smb_conn->signing.signing_state != SMB_SIGNING_ENGINE_OFF)) {
+                   (req->smb_conn->signing.engine_state != SMB_SIGNING_ENGINE_OFF)) {
                        DEBUG(1,("SKIP ERROR REPLY: %s %s because of unknown smb signing case\n",
                                smb_fn_name(type), nt_errstr(status)));
                        talloc_free(req);
@@ -565,7 +565,7 @@ static void switch_message(int type, struct smbsrv_request *req)
                 * so just skip the reply
                 */
                if ((flags & SIGNING_NO_REPLY) &&
-                   (req->smb_conn->signing.signing_state != SMB_SIGNING_ENGINE_OFF)) {
+                   (req->smb_conn->signing.engine_state != SMB_SIGNING_ENGINE_OFF)) {
                        DEBUG(1,("SKIP ERROR REPLY: %s %s because of unknown smb signing case\n",
                                smb_fn_name(type), nt_errstr(status)));
                        talloc_free(req);