aboutsummaryrefslogtreecommitdiff
path: root/pow/POW-0.7/lib
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-11-02 03:47:25 +0000
committerRob Austein <sra@hactrn.net>2007-11-02 03:47:25 +0000
commitdcdf9ef1787cb0a4e86de1c37f50618b89974fb5 (patch)
tree66dbb156a5eda4dbd313819c330fe5c798a3b6b6 /pow/POW-0.7/lib
parent73b48ecc296883031e67f6806044dece8a878709 (diff)
Checkpoint
svn path=/pow/POW-0.7/lib/pkix.py; revision=1231
Diffstat (limited to 'pow/POW-0.7/lib')
-rwxr-xr-xpow/POW-0.7/lib/pkix.py3
1 files changed, 2 insertions, 1 deletions
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 ----------#