mirror of
https://github.com/ceph/ceph
synced 2025-02-24 11:37:37 +00:00
Merge pull request #27052 from rzarzynski/wip-rgw-drop_rgw_decode_pki_token
rgw: drop unused rgw_decode_pki_token(). Reviewed-by: Casey Bodley <cbodley@redhat.com>
This commit is contained in:
commit
9410736823
@ -124,24 +124,6 @@ void rgw_get_token_id(const string& token, string& token_id)
|
||||
token_id = calc_md5;
|
||||
}
|
||||
|
||||
bool rgw_decode_pki_token(CephContext * const cct,
|
||||
const string& token,
|
||||
bufferlist& bl)
|
||||
{
|
||||
if (!rgw_is_pki_token(token)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
int ret = rgw_decode_b64_cms(cct, token, bl);
|
||||
if (ret < 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
ldout(cct, 20) << "successfully decoded pki token" << dendl;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
namespace rgw {
|
||||
namespace keystone {
|
||||
|
@ -31,9 +31,6 @@ static inline std::string rgw_get_token_id(const string& token)
|
||||
|
||||
return token_id;
|
||||
}
|
||||
bool rgw_decode_pki_token(CephContext *cct,
|
||||
const string& token,
|
||||
bufferlist& bl);
|
||||
|
||||
namespace rgw {
|
||||
namespace keystone {
|
||||
|
Loading…
Reference in New Issue
Block a user