mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-21 11:05:39 +00:00
fix(esp_crt_bundle): remove expired DST Root CA X3 from bundle
This commit is contained in:
@@ -103,9 +103,9 @@ class CertificateBundle:
|
||||
crt += strg
|
||||
|
||||
if count == 0:
|
||||
raise InputError('No certificate found')
|
||||
|
||||
status('Successfully added %d certificates' % count)
|
||||
status('No certificate found')
|
||||
else:
|
||||
status('Successfully added %d certificates' % count)
|
||||
|
||||
def add_from_der(self, crt_str):
|
||||
self.certificates.append(x509.load_der_x509_certificate(crt_str, default_backend()))
|
||||
|
||||
Reference in New Issue
Block a user