Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make x509 module compatible with M2Crypto 0.44.0 #67782

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/67782.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Make x509 module compatible with M2Crypto 0.44.0.
4 changes: 4 additions & 0 deletions salt/modules/x509.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
try:
import M2Crypto

# These imports intended to be used from M2Crypto,
# but not loaded by-default with recent M2Crypto version.
from M2Crypto import ASN1, BIO, EVP, RSA, X509, m2 # pylint: disable=unused-import

HAS_M2 = True
except ImportError:
HAS_M2 = False
Expand Down
Loading