Skip to content

Commit e76238d

Browse files
committed
Add cryptography.x509
generate_cert_bundle.py: Add cryptography.x509 to avoid ci-pio compile error
1 parent 943a2c4 commit e76238d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/generate_cert_bundle.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
from cryptography.hazmat.primitives import serialization
2929
except ImportError:
3030
env.Execute("$PYTHONEXE -m pip install cryptography")
31+
from cryptography import x509
32+
from cryptography.hazmat.backends import default_backend
33+
from cryptography.hazmat.primitives import serialization
3134

3235

3336
ca_bundle_bin_file = 'x509_crt_bundle.bin'

0 commit comments

Comments
 (0)