NSS 3.12 added a header to the certutil output we need to skip

456694
This commit is contained in:
Rob Crittenden 2008-07-25 17:06:51 -04:00
parent cf06dd9f84
commit f5f8e8d884

View File

@ -332,6 +332,9 @@ class CertDB(object):
flags = fields[-1]
if 'u' in flags:
name = " ".join(fields[0:-1])
# NSS 3.12 added a header to the certutil output
if name == "Certificate Nickname Trust":
continue
server_certs.append((name, flags))
return server_certs