mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 22:56:15 +01:00
fix display of certificate validity period in verifiy_cb
This commit is contained in:
parent
33dcce48ce
commit
5402029d1d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user