Fix bug #9724 - is_encrypted_packet() function incorrectly used inside server.
commit3bc39aa493aa8d2db9ac423d82bed08bda10e754
authorJeremy Allison <jra@samba.org>
Fri, 15 Mar 2013 22:13:24 +0000 (15 15:13 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 21 Mar 2013 08:45:09 +0000 (21 09:45 +0100)
tree970177485df103ee3122842cad6f07959547b205
parentfb7971cf9305f4a596636c73c17a3c73bfcbdb02
Fix bug #9724 - is_encrypted_packet() function incorrectly used inside server.

The is_encrypted_packet() function should only be used on the raw received data
to determine if a packet came in encrypted. Once we're inside the SMB1
processing code in smbd/reply.c we should be looking at the
smb1request->encrypted field to determine if a packet was really encrypted or
not.

Signed-off-by: Jeremy Allison <jra@samba.org>
source3/smbd/reply.c