Skip to content

Commit

Permalink
Fix removing first certificate in certs-from-mozilla.py (#8907)
Browse files Browse the repository at this point in the history
.pem list has no headers, that operation removes a real certificate.
  • Loading branch information
ilmanowar committed Apr 22, 2023
1 parent c3f3631 commit ad9aaef
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
if item.startswith("'-----BEGIN CERTIFICATE-----"):
pems.append(item)
del names[0] # Remove headers
del pems[0] # Remove headers

# Try and make ./data, skip if present
try:
Expand Down

0 comments on commit ad9aaef

Please sign in to comment.