mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
Fix removing first certificate in certs-from-mozilla.py (#8907)
.pem list has no headers, that operation removes a real certificate.
This commit is contained in:
parent
c3f36316bf
commit
ad9aaef8c8
@ -47,7 +47,6 @@ for row in csvReader:
|
|||||||
if item.startswith("'-----BEGIN CERTIFICATE-----"):
|
if item.startswith("'-----BEGIN CERTIFICATE-----"):
|
||||||
pems.append(item)
|
pems.append(item)
|
||||||
del names[0] # Remove headers
|
del names[0] # Remove headers
|
||||||
del pems[0] # Remove headers
|
|
||||||
|
|
||||||
# Try and make ./data, skip if present
|
# Try and make ./data, skip if present
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user