components/python/pyasn1-modules/patches/crl_dist.patch
author Erik Trauschke <Erik.Trauschke@oracle.com>
Wed, 16 Oct 2013 10:07:37 -0700
branchs11-update
changeset 2791 d054d400ccf4
permissions -rw-r--r--
16758004 The Python pyasn1-modules module should be added to Userland PSARC/2013/182 pyasn1-modules version 0.0.5

#
# Fix typo in rfc2459.py
# Typo has been fixed in upstream but was not released yet.
#
--- pyasn1-modules-0.0.4/pyasn1_modules/rfc2459.py	2012-04-11 02:34:52.000000000 -0700
+++ pyasn1-modules-0.0.4/pyasn1_modules/rfc2459.py	2013-07-03 12:20:17.801945873 -0700
@@ -761,7 +761,7 @@
 id_ce_cRLDistributionPoints = univ.ObjectIdentifier('2.5.29.31')
 
 class CRLDistPointsSyntax(univ.SequenceOf):
-    componentType = DistributionPoint
+    componentType = DistributionPoint()
     subtypeSpec = univ.SequenceOf.subtypeSpec + constraint.ValueSizeConstraint(1, MAX)
 id_ce_issuingDistributionPoint = univ.ObjectIdentifier('2.5.29.28')