]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:client: Remove unused smb encryption code
authorAndreas Schneider <asn@samba.org>
Wed, 10 Jun 2020 10:43:33 +0000 (12:43 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 19 Aug 2020 16:22:42 +0000 (16:22 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/client/smbspool.c

index f56dc323b6ef9e07737ba174acb03b76cb07c755..16a8d44c069a115eb4e1adbfee15c5a462a62e92 100644 (file)
@@ -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;