]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:libsmb: Make cli_cm_force_encryption_creds() static
authorAndreas Schneider <asn@samba.org>
Mon, 6 Jul 2020 09:05:59 +0000 (11:05 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 19 Aug 2020 16:22:43 +0000 (16:22 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/libsmb/clidfs.c
source3/libsmb/proto.h

index 4495a0278309608e2e592b7d3d3cdf8ecf91908c..aff998f61874316075f4136c67afa5c3546b0484 100644 (file)
@@ -43,9 +43,9 @@
  Ensure a connection is encrypted.
 ********************************************************************/
 
-NTSTATUS cli_cm_force_encryption_creds(struct cli_state *c,
-                                      struct cli_credentials *creds,
-                                      const char *sharename)
+static NTSTATUS cli_cm_force_encryption_creds(struct cli_state *c,
+                                             struct cli_credentials *creds,
+                                             const char *sharename)
 {
        uint16_t major, minor;
        uint32_t caplow, caphigh;
index 850cf12c8a6cc51b624779bbcfd9f0e1d36353cd..eeabcaa74638ffc38809976712dcfbe3f96e8ce1 100644 (file)
@@ -123,9 +123,6 @@ struct cli_state *get_ipc_connect_master_ip(TALLOC_CTX *ctx,
 
 /* The following definitions come from libsmb/clidfs.c  */
 
-NTSTATUS cli_cm_force_encryption_creds(struct cli_state *c,
-                                      struct cli_credentials *creds,
-                                      const char *sharename);
 NTSTATUS cli_cm_open(TALLOC_CTX *ctx,
                                struct cli_state *referring_cli,
                                const char *server,