Skip to content

Commit

Permalink
auth/cephx: make _calc_signature() of CephxSessionHandler private.
Browse files Browse the repository at this point in the history
Signed-off-by: Radoslaw Zarzynski <[email protected]>
  • Loading branch information
rzarzynski committed Feb 21, 2019
1 parent 9fc0b20 commit 1291a8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/auth/cephx/CephxSessionHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ class CephxSessionHandler : public AuthSessionHandler {
std::string connection_secret; // per connection
uint64_t features;

int _calc_signature(Message *m, uint64_t *psig);

public:
CephxSessionHandler(CephContext *cct,
const CryptoKey& session_key,
Expand All @@ -39,8 +41,6 @@ class CephxSessionHandler : public AuthSessionHandler {
}
~CephxSessionHandler() override = default;

int _calc_signature(Message *m, uint64_t *psig);

int sign_message(Message *m) override;
int check_message_signature(Message *m) override ;

Expand Down

0 comments on commit 1291a8a

Please sign in to comment.