From 5402029d1ded81690895af128f8f0ed78490ee15 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Mon, 2 Nov 2009 08:36:16 +0000 Subject: [PATCH] fix display of certificate validity period in verifiy_cb --- osc/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/conf.py b/osc/conf.py index 699fb666..4e7028fd 100644 --- a/osc/conf.py +++ b/osc/conf.py @@ -287,7 +287,7 @@ def verify_cb(ok, store): print "Subject: ", cert.get_subject() print "Issuer: ", cert.get_issuer() print "Fingerprint: ", cert.get_fingerprint() - print "Valid: ", cert.get_not_before(), "-", cert.get_not_before() + print "Valid: ", cert.get_not_before(), "-", cert.get_not_after() try: import M2Crypto.Err reason = M2Crypto.Err.get_x509_verify_error(err)