From 3917fab05b8ce62cf1ed11ea66d4a67c27fc50b7 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 10 Jan 2016 09:50:27 -0600 Subject: remove duplicated memorybio namedtuple --- src/cryptography/hazmat/backends/openssl/encode_asn1.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/cryptography/hazmat/backends/openssl/encode_asn1.py b/src/cryptography/hazmat/backends/openssl/encode_asn1.py index 9f84ccdd..dc41670d 100644 --- a/src/cryptography/hazmat/backends/openssl/encode_asn1.py +++ b/src/cryptography/hazmat/backends/openssl/encode_asn1.py @@ -5,7 +5,6 @@ from __future__ import absolute_import, division, print_function import calendar -import collections import idna @@ -19,9 +18,6 @@ from cryptography.hazmat.backends.openssl.x509 import ( from cryptography.x509.oid import CRLEntryExtensionOID, ExtensionOID, NameOID -_MemoryBIO = collections.namedtuple("_MemoryBIO", ["bio", "char_ptr"]) - - def _encode_asn1_int(backend, x): """ Converts a python integer to an ASN1_INTEGER. The returned ASN1_INTEGER -- cgit v1.2.3