CVE-2017-12151: s3:libsmb: make use of cli_state_is_encryption_on()