aboutsummaryrefslogtreecommitdiff
path: root/rp
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-05-20 14:44:47 +0000
committerRob Austein <sra@hactrn.net>2014-05-20 14:44:47 +0000
commit08b636cbe79f5d48966cf52f375062e3531aed3f (patch)
tree802334188f77909f46a958c38112453c3eba9811 /rp
parentd802ad11ce25f3e11e3c93ae6d6992f1be85b6ec (diff)
Doh, wrong API.
svn path=/trunk/; revision=5831
Diffstat (limited to 'rp')
-rwxr-xr-xrp/utils/uri2
1 files changed, 1 insertions, 1 deletions
diff --git a/rp/utils/uri b/rp/utils/uri
index 891cd33a..e095eb30 100755
--- a/rp/utils/uri
+++ b/rp/utils/uri
@@ -45,7 +45,7 @@ class Certificate(object):
try:
cms = rpki.POW.CMS.derReadFile(fn)
cms.extractWithoutVerifying()
- x = cms.getCerts()[0]
+ x = cms.certs()[0]
except:
raise ValueError
sia = x.getSIA() or (None, None, None)