diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-13 10:36:20 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-13 10:36:20 -0400 |
commit | 0ae16ea4dcfd3e77807dbb5189a3fbb810e41f8a (patch) | |
tree | 8b5adc1ec16eae1305bacc27281a9464c5c49f5d /src | |
parent | 4cded2848ee139095a9bae46b8b6ad1434be82bc (diff) | |
download | cryptography-0ae16ea4dcfd3e77807dbb5189a3fbb810e41f8a.tar.gz cryptography-0ae16ea4dcfd3e77807dbb5189a3fbb810e41f8a.tar.bz2 cryptography-0ae16ea4dcfd3e77807dbb5189a3fbb810e41f8a.zip |
bytes, my nemesis
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/hazmat/backends/openssl/encode_asn1.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/hazmat/backends/openssl/encode_asn1.py b/src/cryptography/hazmat/backends/openssl/encode_asn1.py index 9618ec9f..0ede533a 100644 --- a/src/cryptography/hazmat/backends/openssl/encode_asn1.py +++ b/src/cryptography/hazmat/backends/openssl/encode_asn1.py @@ -242,7 +242,7 @@ def _encode_ocsp_nocheck(backend, ext): The OCSP No Check extension is defined as a null ASN.1 value embedded in an ASN.1 string. """ - return _encode_asn1_str_gc(backend, "\x05\x00", 2) + return _encode_asn1_str_gc(backend, b"\x05\x00", 2) def _encode_key_usage(backend, key_usage): |