CVE-2017-12151: s3:libsmb: add cli_state_is_encryption_on() helper function
authorStefan Metzmacher <metze@samba.org>
Mon, 14 Aug 2017 10:13:18 +0000 (12:13 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 13 Sep 2017 16:19:49 +0000 (09:19 -0700)
commit17019aa27f612f4ccc7131d40c54b26864fef444
tree5582db2778d76db878454aa1fc837aa7e5f02403
parent81f1804d45c1b698ee87ee4d4c84197df98ea4f2
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