diff options
author | Frank Zonneveld <fzonneveld@irdeto.com> | 2017-07-04 15:45:29 +0200 |
---|---|---|
committer | Frank Zonneveld <fzonneveld@irdeto.com> | 2017-07-04 15:45:29 +0200 |
commit | 9216f6d46b2f4cf78ffded2d05abca122cd938be (patch) | |
tree | c1d85edf4c0570fce5b93c549ed344b7b6e83c50 /pyasn1_modules/rfc4210.py | |
parent | cd2de07de7cbc4c0df7958ff26c3e109ad54b11e (diff) | |
download | pyasn1-modules-9216f6d46b2f4cf78ffded2d05abca122cd938be.tar.gz |
MAX values from the RFC specs should be set to infinite.
Handling of MAX in RFC should be translated to infinity as
stated in pyasn1 documentation, see
http://pyasn1.sourceforge.net/docs/tutorial.html#integer-type
Diffstat (limited to 'pyasn1_modules/rfc4210.py')
-rw-r--r-- | pyasn1_modules/rfc4210.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyasn1_modules/rfc4210.py b/pyasn1_modules/rfc4210.py index 3c00369..fd421e4 100644 --- a/pyasn1_modules/rfc4210.py +++ b/pyasn1_modules/rfc4210.py @@ -11,7 +11,7 @@ from pyasn1.type import tag, namedtype, namedval, univ, constraint, char, useful from pyasn1_modules import rfc2459, rfc2511, rfc2314 -MAX = 64 +MAX = float('inf') class KeyIdentifier(univ.OctetString): |