diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-03-21 09:26:58 -0700 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2018-03-21 17:26:58 +0100 |
commit | 44b59e38080de16942c700d49e15d36f246950e0 (patch) | |
tree | 217496f88c6602a6a9b3f468d9f1231c946ef69f | |
parent | 6910ce9a44b6523c2f3787a279dbf8f47c3e2cca (diff) | |
download | pyasn1-git-44b59e38080de16942c700d49e15d36f246950e0.tar.gz |
Prefer https:// URLs where available (#121)
-rw-r--r-- | CHANGES.rst | 4 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | pyasn1/__init__.py | 2 | ||||
-rw-r--r-- | pyasn1/codec/ber/decoder.py | 2 | ||||
-rw-r--r-- | pyasn1/codec/cer/decoder.py | 2 | ||||
-rw-r--r-- | tests/codec/ber/test_decoder.py | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/CHANGES.rst b/CHANGES.rst index 3c06812..031a4b8 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -342,7 +342,7 @@ Revision 0.1.7 -------------- - License updated to vanilla BSD 2-Clause to ease package use - (http://opensource.org/licenses/BSD-2-Clause). + (https://opensource.org/licenses/BSD-2-Clause). - Test suite made discoverable by unittest/unittest2 discovery feature. - Fix to decoder working on indefinite length substrate -- end-of-octets marker is now detected by both tag and value. Otherwise zero values may @@ -406,7 +406,7 @@ Revision 0.1.4 - Fix to BER Boolean decoder that allows other pre-computed values besides 0 and 1 - Fix to leading 0x80 octet handling in DER/CER/DER ObjectIdentifier decoder. - See http://www.cosic.esat.kuleuven.be/publications/article-1432.pdf + See https://www.esat.kuleuven.be/cosic/publications/article-1432.pdf Revision 0.1.3 -------------- @@ -176,7 +176,7 @@ You could `pip install pyasn1` or download it from [PyPI](https://pypi.python.or If something does not work as expected, [open an issue](https://github.com/etingof/pyasn1/issues) at GitHub or -post your question [on Stack Overflow](http://stackoverflow.com/questions/ask) +post your question [on Stack Overflow](https://stackoverflow.com/questions/ask) or try browsing pyasn1 [mailing list archives](https://sourceforge.net/p/pyasn1/mailman/pyasn1-users/). diff --git a/pyasn1/__init__.py b/pyasn1/__init__.py index 1e99d6b..4d95836 100644 --- a/pyasn1/__init__.py +++ b/pyasn1/__init__.py @@ -1,6 +1,6 @@ import sys -# http://www.python.org/dev/peps/pep-0396/ +# https://www.python.org/dev/peps/pep-0396/ __version__ = '0.4.2' if sys.version_info[:2] < (2, 4): diff --git a/pyasn1/codec/ber/decoder.py b/pyasn1/codec/ber/decoder.py index 6e29db0..fe765e3 100644 --- a/pyasn1/codec/ber/decoder.py +++ b/pyasn1/codec/ber/decoder.py @@ -337,7 +337,7 @@ class ObjectIdentifierDecoder(AbstractSimpleDecoder): elif subId == 128: # ASN.1 spec forbids leading zeros (0x80) in OID # encoding, tolerating it opens a vulnerability. See - # http://www.cosic.esat.kuleuven.be/publications/article-1432.pdf + # https://www.esat.kuleuven.be/cosic/publications/article-1432.pdf # page 7 raise error.PyAsn1Error('Invalid octet 0x80 in OID encoding') diff --git a/pyasn1/codec/cer/decoder.py b/pyasn1/codec/cer/decoder.py index f89e165..741ff01 100644 --- a/pyasn1/codec/cer/decoder.py +++ b/pyasn1/codec/cer/decoder.py @@ -25,7 +25,7 @@ class BooleanDecoder(decoder.AbstractSimpleDecoder): byte = oct2int(head[0]) # CER/DER specifies encoding of TRUE as 0xFF and FALSE as 0x0, while # BER allows any non-zero value as TRUE; cf. sections 8.2.2. and 11.1 - # in http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf + # in https://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf if byte == 0xff: value = 1 elif byte == 0x00: diff --git a/tests/codec/ber/test_decoder.py b/tests/codec/ber/test_decoder.py index 83a2fe7..8b041ca 100644 --- a/tests/codec/ber/test_decoder.py +++ b/tests/codec/ber/test_decoder.py @@ -268,7 +268,7 @@ class NullDecoderTestCase(BaseTestCase): # Useful analysis of OID encoding issues could be found here: -# http://www.viathinksoft.de/~daniel-marschall/asn.1/oid_facts.html +# https://misc.daniel-marschall.de/asn.1/oid_facts.html class ObjectIdentifierDecoderTestCase(BaseTestCase): def testOne(self): assert decoder.decode( |