From 6183e128b29ad1c8363623e691116d13f9aa91e4 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 22 Oct 2009 15:35:07 -0700 Subject: [PATCH] auth: kill some unused AuthClientHandler fields --- src/auth/AuthClientHandler.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/auth/AuthClientHandler.h b/src/auth/AuthClientHandler.h index 65c155f85f39c..d20f72ca082a3 100644 --- a/src/auth/AuthClientHandler.h +++ b/src/auth/AuthClientHandler.h @@ -124,11 +124,6 @@ class AuthClientHandler { friend class AuthClientProtocolHandler; Mutex lock; - Cond keys_cond; - - - /* ceph-x protocol */ - utime_t auth_ts; AuthClient *client; @@ -143,7 +138,6 @@ public: entity_addr_t addr; uint32_t want; uint32_t have; - CryptoKey secret; AuthTicketManager tickets; @@ -163,15 +157,6 @@ public: Mutex::Locker l(lock); return (want & have) == have; } - bool wait_for_keys(double timeout) { - Mutex::Locker l(lock); - utime_t t; - t += timeout; - while ((want & have) != have) - keys_cond.WaitInterval(lock, t); - return (want & have) == have; - } - int handle_response(int trans_id, Message *response); int send_session_request(AuthClient *client, AuthClientProtocolHandler *handler); -- 2.39.5