summaryrefslogtreecommitdiff
path: root/keystoneclient/common
diff options
context:
space:
mode:
Diffstat (limited to 'keystoneclient/common')
-rw-r--r--keystoneclient/common/cms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystoneclient/common/cms.py b/keystoneclient/common/cms.py
index c5faf96..b206d7b 100644
--- a/keystoneclient/common/cms.py
+++ b/keystoneclient/common/cms.py
@@ -282,7 +282,7 @@ def is_asn1_token(token):
Checking for just M is insufficient
But we will only check for MII:
- Max length of the content using 2 octets is 7FFF or 32767.
+ Max length of the content using 2 octets is 3FFF or 16383.
It's not practical to support a token of this length or greater in http
therefore, we will check for MII only and ignore the case of larger tokens