aboutsummaryrefslogtreecommitdiff
path: root/scripts/testroot.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/testroot.py')
-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()