aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2007-11-05 16:55:54 +0000
committerRob Austein <sra@hactrn.net>2007-11-05 16:55:54 +0000
commit415761a16da4484e9a7772560f1d3c39ffb4596f (patch)
treeb2c8fa18f44baf8d4f4a9aa1aa46eb3f55b0499c /scripts
parent6c64a286f5bba47fe4e4f6e2f63d75039e368223 (diff)
Cleanup
svn path=/scripts/testroot.py; revision=1236
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/testroot.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/testroot.py b/scripts/testroot.py
index e42b4aab..aac8ebc7 100755
--- a/scripts/testroot.py
+++ b/scripts/testroot.py
@@ -21,14 +21,11 @@ root_cert = root_base + "testroot.cer"
def get_subject_cert():
try:
x = rpki.x509.X509(Auto_file = rpki_subject_filename)
- print "Read subject cert"
return x
except IOError:
- print "No subject cert"
return None
def set_subject_cert(cert):
- print "Writing subject cert"
f = open(rpki_subject_filename, "wb")
f.write(cert.get_DER())
f.close()