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:
Casey Bodley 2019-03-20 09:55:55 -04:00 committed by GitHub
commit 9410736823
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 21 deletions

View File

@ -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 {

View File

@ -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 {