1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +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:
ilmanowar 2023-04-22 17:33:27 +03:00 committed by GitHub
parent c3f36316bf
commit ad9aaef8c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,6 @@ for row in csvReader:
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: