diff options
author | Rob Austein <sra@hactrn.net> | 2008-10-16 01:43:56 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2008-10-16 01:43:56 +0000 |
commit | 5955ada37f18ad5dc1a482abf6451db1535d259f (patch) | |
tree | aaa3f93c214ab8630ca69ba13abb798f13dc744b /rpkid/rpki/rpki_engine.py | |
parent | 25f1e7067b22dcb23ca580e083be6253753cbb06 (diff) |
Change logging in check_for_updates() to use g(SKI) representation, to
make it easier to match certificates up with filenames.
svn path=/rpkid/rpki/rpki_engine.py; revision=2020
Diffstat (limited to 'rpkid/rpki/rpki_engine.py')
-rw-r--r-- | rpkid/rpki/rpki_engine.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpkid/rpki/rpki_engine.py b/rpkid/rpki/rpki_engine.py index 73593418..bff417d3 100644 --- a/rpkid/rpki/rpki_engine.py +++ b/rpkid/rpki/rpki_engine.py @@ -231,7 +231,7 @@ class ca_obj(rpki.sql.sql_persistant): ski = ca_detail.latest_ca_cert.get_SKI() if ski not in cert_map: - rpki.log.warn("Certificate in database missing from list_response, SKI %s, this should never happen" % ":".join(("%02X" % ord(i) for i in ski))) + rpki.log.warn("Certificate in database missing from list_response, SKI %s, this should never happen" % ca_detail.latest_ca_cert.gSKI()) ca_detail.delete(self, parent.repository()) continue @@ -251,7 +251,7 @@ class ca_obj(rpki.sql.sql_persistant): del cert_map[ski] if cert_map: - rpki.log.warn("Certificates in list_response missing from our database, SKIs %s" % ", ".join(c.cert.hSKI() for c in cert_map.values())) + rpki.log.warn("Certificates in list_response missing from our database, SKIs %s" % ", ".join(c.cert.gSKI() for c in cert_map.values())) @classmethod def create(cls, parent, rc): |