]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/crimson: update test_alien_echo.cc with f80b848d
authorKefu Chai <kchai@redhat.com>
Sat, 21 Jul 2018 12:40:14 +0000 (20:40 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 25 Jul 2018 05:13:45 +0000 (13:13 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/crimson/test_alien_echo.cc

index 4f0788937147ee6f15fd3b153dc9465f4d49c091..50a4d52e9dc3d552cbc7f90b3822998a68108c0d 100644 (file)
@@ -31,6 +31,9 @@ struct DummyAuthAuthorizer : public AuthAuthorizer {
   bool verify_reply(bufferlist::const_iterator&) override {
     return true;
   }
+  bool add_challenge(CephContext*, bufferlist&) override {
+    return true;
+  }
 };
 
 struct Server {
@@ -133,7 +136,8 @@ struct Server {
     bool ms_verify_authorizer(Connection *con, int peer_type, int protocol,
                               bufferlist& authorizer,
                               bufferlist& authorizer_reply,
-                              bool& isvalid, CryptoKey& session_key) override {
+                              bool& isvalid, CryptoKey& session_key,
+                              std::unique_ptr<AuthAuthorizerChallenge>*) override {
       isvalid = true;
       return true;
     }
@@ -195,7 +199,8 @@ struct Client {
     bool ms_verify_authorizer(Connection *con, int peer_type, int protocol,
                               bufferlist& authorizer,
                               bufferlist& authorizer_reply,
-                              bool& isvalid, CryptoKey& session_key) override {
+                              bool& isvalid, CryptoKey& session_key,
+                              std::unique_ptr<AuthAuthorizerChallenge>*) override {
       isvalid = true;
       return true;
     }