]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
auth/AuthServiceHandler: build_cephx_response_header() is cephx-specific
authorIlya Dryomov <idryomov@gmail.com>
Tue, 9 Mar 2021 13:36:39 +0000 (14:36 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 12 Apr 2021 19:59:41 +0000 (21:59 +0200)
Make the one in CephxServiceHandler private and drop the stub in
AuthNoneServiceHandler.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 49cba02a750d4c1ab68399401f0c04f9c9be5b9e)

Conflicts:
src/auth/cephx/CephxServiceHandler.h [ bufferlist vs
  ceph::buffer::list ]
src/auth/none/AuthNoneServiceHandler.h [ ditto ]

src/auth/cephx/CephxServiceHandler.h
src/auth/none/AuthNoneServiceHandler.h

index b780a18848c65b9cc4ccf407f01fa02d9020624b..c27194814c5bb66529e85fc2741aeddc073300bd 100644 (file)
@@ -41,7 +41,9 @@ public:
     CryptoKey *session_key,
     std::string *connection_secret) override;
 
-  void build_cephx_response_header(int request_type, int status, bufferlist& bl);
+private:
+  void build_cephx_response_header(int request_type, int status,
+                                  bufferlist& bl);
 };
 
 #endif
index 5cbcf0cbd65e9f523d145bc791dfd57f51f1b362..dd8c9d26344623a16fdc6892dc9066108958c1d9 100644 (file)
@@ -42,9 +42,6 @@ public:
                     std::string *connection_secret) override {
     return 0;
   }
-  void build_cephx_response_header(int request_type, int status,
-                                  bufferlist& bl) {
-  }
 };
 
 #endif