CVE-2017-12151: s3:libsmb: add cli_state_is_encryption_on() helper function
commitc38e3a7086164b1c58e003dd627b207ffcbe856e
authorStefan Metzmacher <metze@samba.org>
Mon, 14 Aug 2017 10:13:18 +0000 (14 12:13 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 20 Sep 2017 10:00:34 +0000 (20 12:00 +0200)
tree6fcd68c11a0e6220cc1eed3748f03b8047832c9e
parente0fe5d09082509c8a11720f683264ffac21e7a75
CVE-2017-12151: s3:libsmb: add cli_state_is_encryption_on() helper function

This allows to check if the current cli_state uses encryption
(either via unix extentions or via SMB3).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12996

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/libsmb/clientgen.c
source3/libsmb/proto.h