aboutsummaryrefslogtreecommitdiff
path: root/asn1crypto/x509.py
diff options
context:
space:
mode:
authorwbond <will@wbond.net>2016-03-31 10:59:08 -0400
committerwbond <will@wbond.net>2016-03-31 10:59:08 -0400
commitffb857a165243823d877610e33b0b6fb57e1f4bc (patch)
tree3871887dc525a08742f335e96597c0c745f961d3 /asn1crypto/x509.py
parentd7a440cb48e90da5e606daaffb4ea15a1ad0f799 (diff)
downloadasn1crypto-ffb857a165243823d877610e33b0b6fb57e1f4bc.tar.gz
Fixed a bug with x509.Certificate.issuer_alt_name_value if it is the first extension accessed
Diffstat (limited to 'asn1crypto/x509.py')
-rw-r--r--asn1crypto/x509.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1crypto/x509.py b/asn1crypto/x509.py
index dfa7d49..f115d39 100644
--- a/asn1crypto/x509.py
+++ b/asn1crypto/x509.py
@@ -1873,8 +1873,8 @@ class Certificate(Sequence):
None or an x509.GeneralNames object
"""
- if self._processed_extensions is False:
- self._processed_extensions()
+ if not self._processed_extensions:
+ self._set_extensions()
return self._issuer_alt_name_value
@property