aboutsummaryrefslogtreecommitdiff
path: root/asn1crypto/x509.py
diff options
context:
space:
mode:
authorwbond <will@wbond.net>2016-11-23 09:35:28 -0500
committerwbond <will@wbond.net>2016-11-23 09:35:28 -0500
commit0bbbb96ee768c5c6f32e541869f259652a054d97 (patch)
treee76df7f405e077e610cd0f96b3a05bd3300cee4a /asn1crypto/x509.py
parent0cde8d63c78529cc27a94d68eb7c482c2b959437 (diff)
downloadasn1crypto-0bbbb96ee768c5c6f32e541869f259652a054d97.tar.gz
Fix x509.Name.native to work if object was not parsed from a byte string
Diffstat (limited to 'asn1crypto/x509.py')
-rw-r--r--asn1crypto/x509.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/asn1crypto/x509.py b/asn1crypto/x509.py
index 8782fce..ba0311a 100644
--- a/asn1crypto/x509.py
+++ b/asn1crypto/x509.py
@@ -962,8 +962,6 @@ class Name(Choice):
@property
def native(self):
- if self.contents is None:
- return None
if self._native is None:
self._native = OrderedDict()
for rdn in self.chosen.native: