diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-08-09 11:02:44 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-08-09 11:02:44 -0500 |
commit | c58d8bcc6b6e5a6d6aafe59a7e90cee679222e76 (patch) | |
tree | 52dff64d223847880ba7345fe408970e5b8060e6 | |
parent | f7d1b72c8ab1bd3f198965b9747794c82d270341 (diff) | |
download | cryptography-c58d8bcc6b6e5a6d6aafe59a7e90cee679222e76.tar.gz cryptography-c58d8bcc6b6e5a6d6aafe59a7e90cee679222e76.tar.bz2 cryptography-c58d8bcc6b6e5a6d6aafe59a7e90cee679222e76.zip |
improve comment for ocsp_nocheck encoding
-rw-r--r-- | src/cryptography/hazmat/backends/openssl/backend.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cryptography/hazmat/backends/openssl/backend.py b/src/cryptography/hazmat/backends/openssl/backend.py index 4ce6d6d0..3aa210d1 100644 --- a/src/cryptography/hazmat/backends/openssl/backend.py +++ b/src/cryptography/hazmat/backends/openssl/backend.py @@ -157,9 +157,8 @@ def _txt2obj_gc(backend, name): def _encode_ocsp_nocheck(backend, ext): """ - The OCSP No Check extension is defined as a null ASN.1 value. We can just - return that value directly here in the pp, r tuple form the other - extension encoding functions use. + The OCSP No Check extension is defined as a null ASN.1 value. Rather than + calling OpenSSL we can return a Python bytestring value in a list. """ return [b"\x05\x00"], 2 |