Skip to content

Commit e636a65

Browse files
authored
Update certs-from-mozilla.py (#7573)
Looks like Mozilla changed the csv, certs are now at row 32
1 parent d02bc02 commit e636a65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: libraries/ESP8266WiFi/examples/BearSSL_CertStore/certs-from-mozilla.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
# Mozilla's URL for the CSV file with included PEM certs
2525
mozurl = "https://ccadb-public.secure.force.com/mozilla/IncludedCACertificateReportPEMCSV"
2626

27-
# Load the manes[] and pems[] array from the URL
27+
# Load the names[] and pems[] array from the URL
2828
names = []
2929
pems = []
3030
response = urlopen(mozurl)
@@ -35,7 +35,7 @@
3535
csvReader = csv.reader(csvFile)
3636
for row in csvReader:
3737
names.append(row[0]+":"+row[1]+":"+row[2])
38-
pems.append(row[30])
38+
pems.append(row[32])
3939
del names[0] # Remove headers
4040
del pems[0] # Remove headers
4141

0 commit comments

Comments
 (0)