From 0ae16ea4dcfd3e77807dbb5189a3fbb810e41f8a Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 13 Mar 2016 10:36:20 -0400 Subject: bytes, my nemesis --- src/cryptography/hazmat/backends/openssl/encode_asn1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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): -- cgit v1.2.3