Revert "HACK break s4 server signing"
authorStefan Metzmacher <metze@samba.org>
Fri, 3 Aug 2012 13:47:28 +0000 (15:47 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 18 Sep 2012 03:10:21 +0000 (05:10 +0200)
This reverts commit 854ce33d93b8bbb7f058c1852d3732c46f41171d.

source4/libcli/raw/smb_signing.c

index ce0b34ef23887693fa0ec80374da530667752dc9..5d2f92874797539f26a5d4aa4f8d41d4863de195 100644 (file)
@@ -106,8 +106,8 @@ void sign_outgoing_message(struct smb_request_buffer *out, DATA_BLOB *mac_key, u
        DEBUG(5, ("sign_outgoing_message: SENT SIG (seq: %d): sent SMB signature of\n", 
                  seq_num));
        dump_data(5, calc_md5_mac, 8);
-       out->hdr[HDR_SS_FIELD+2]=0;
-/*     Uncomment this to test if the remote server actually verifies signitures...*/
+/*     req->out.hdr[HDR_SS_FIELD+2]=0; 
+       Uncomment this to test if the remote server actually verifies signitures...*/
 }
 
 bool check_signed_incoming_message(struct smb_request_buffer *in, DATA_BLOB *mac_key, unsigned int seq_num)