mirror of
https://github.com/adulau/crl-monitor.git
synced 2024-11-25 03:27:10 +00:00
Verbose mode added
This commit is contained in:
parent
cdbccbc256
commit
f5a7a68a4c
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ for cert in fileinput.input(args.r):
|
|||
f = open(fn, 'w+')
|
||||
f.write(certb)
|
||||
f.close()
|
||||
if args.v:
|
||||
print "Certificate saved in " +fn
|
||||
|
||||
try:
|
||||
x509 = X509.load_cert_string(certb, X509.FORMAT_DER)
|
||||
|
|
Loading…
Reference in a new issue