From dcdf9ef1787cb0a4e86de1c37f50618b89974fb5 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 2 Nov 2007 03:47:25 +0000 Subject: Checkpoint svn path=/pow/POW-0.7/lib/pkix.py; revision=1231 --- pow/POW-0.7/lib/pkix.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pow') diff --git a/pow/POW-0.7/lib/pkix.py b/pow/POW-0.7/lib/pkix.py index a4641085..65f62442 100755 --- a/pow/POW-0.7/lib/pkix.py +++ b/pow/POW-0.7/lib/pkix.py @@ -1259,7 +1259,8 @@ class CertificationRequest(Sequence): return None def setExtensions(self, exts): - self.certificationRequestInfo.attributes.val.choices["set"][0].set(exts) + self.certificationRequestInfo.attributes.oid.set((1, 2, 840, 113549, 1, 9, 14)) + self.certificationRequestInfo.attributes.val.set(("set", [exts])) #---------- PKCS10 ----------# #---------- GeneralNames object support ----------# -- cgit v1.2.3