diff options
author | Rob Austein <sra@hactrn.net> | 2011-07-01 17:45:40 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2011-07-01 17:45:40 +0000 |
commit | 814810931ba41d49bb032cc3da5eae10bebb6017 (patch) | |
tree | 5970ff84b1e093bb0b5e71d70bd3f5d0ef3f3a22 /scripts/x509-dot.py | |
parent | 909dc4cf895c0e15e36f2e745787a1a4b24753ff (diff) |
Old scripts -- POW -> rpki.POW
svn path=/scripts/cross_certify.py; revision=3916
Diffstat (limited to 'scripts/x509-dot.py')
-rw-r--r-- | scripts/x509-dot.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/x509-dot.py b/scripts/x509-dot.py index 5eb58ff9..9ad5b79d 100644 --- a/scripts/x509-dot.py +++ b/scripts/x509-dot.py @@ -3,7 +3,7 @@ """ Generate .dot description of a certificate tree. -Copyright (C) 2009-2010 Internet Systems Consortium ("ISC") +Copyright (C) 2009-2011 Internet Systems Consortium ("ISC") Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above @@ -32,7 +32,7 @@ OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. """ -import POW, sys, glob, os +import rpki.POW, sys, glob, os class x509(object): @@ -61,9 +61,9 @@ class x509(object): f.close() if "-----BEGIN" in text: - self.pow = POW.pemRead(POW.X509_CERTIFICATE, text) + self.pow = rpki.POW.pemRead(rpki.POW.X509_CERTIFICATE, text) else: - self.pow = POW.derRead(POW.X509_CERTIFICATE, text) + self.pow = rpki.POW.derRead(rpki.POW.X509_CERTIFICATE, text) self.extensions = dict((e[0], e[2]) for e in (self.pow.getExtension(i) for i in xrange(self.pow.countExtensions()))) |