From 73b48ecc296883031e67f6806044dece8a878709 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Thu, 1 Nov 2007 23:58:28 +0000 Subject: Checkpoint svn path=/scripts/rpki/exceptions.py; revision=1229 --- scripts/testroot.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'scripts/testroot.py') diff --git a/scripts/testroot.py b/scripts/testroot.py index ba6cf809..21b8bcc1 100755 --- a/scripts/testroot.py +++ b/scripts/testroot.py @@ -53,6 +53,11 @@ class list_pdu(rpki.up_down.list_pdu): class issue_pdu(rpki.up_down.issue_pdu): def serve_pdu(self, xxx1, q_msg, r_msg, xxx2): + + f = open("testroot.pkcs10", "w") + f.write(self.pkcs10.get_DER()) + f.close() + self.pkcs10.check_valid_rpki() rpki_subject = get_subject_cert() if rpki_subject is not None: -- cgit v1.2.3