diff options
Diffstat (limited to 'source3/libsmb/clientgen.c')
-rw-r--r-- | source3/libsmb/clientgen.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index 0ee361f862..ab0079650a 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -257,6 +257,12 @@ struct cli_state *cli_initialise(void) return cli_initialise_ex(Undefined); } +bool cli_state_encryption_on(struct cli_state *cli) +{ + return common_encryption_on(cli->trans_enc_state); +} + + /**************************************************************************** Close all pipes open on this session. ****************************************************************************/ |