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, 20 Sep 2017 11:04:10 +0000 (13:04 +0200)
commitace72741ada1497cf1dc76c9e0bae0a6cd15dd5e
tree9a58d22d456c334ac8537fc9594111e19fd88de1
parentee4418e73f5ed9a1c5d5dc1a5547899f80d9fb5a
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