From: Andreas Schneider Date: Wed, 10 Jun 2020 10:43:33 +0000 (+0200) Subject: s3:client: Remove unused smb encryption code X-Git-Tag: talloc-2.3.2~780 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5698fb41bb4c0aa14955fff81f903500b333eb4c;p=thirdparty%2Fsamba.git s3:client: Remove unused smb encryption code Signed-off-by: Andreas Schneider Reviewed-by: Stefan Metzmacher --- diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index f56dc323b6e..16a8d44c069 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -584,16 +584,6 @@ smb_complete_connection(struct cli_state **output_cli, return nt_status; } -#if 0 - /* Need to work out how to specify this on the URL. */ - if (smb_encrypt) { - if (!cli_cm_force_encryption_creds(cli, creds, share)) { - fprintf(stderr, "ERROR: encryption setup failed\n"); - cli_shutdown(cli); - return NULL; - } - } -#endif *output_cli = cli; return NT_STATUS_OK;