2016-04-03 00:37:38 +01:00
|
|
|
diff --git a/salt/utils/rsax931.py b/salt/utils/rsax931.py
|
2017-09-05 13:54:16 +01:00
|
|
|
index f827cc6db8..b728595186 100644
|
2016-04-03 00:37:38 +01:00
|
|
|
--- a/salt/utils/rsax931.py
|
|
|
|
+++ b/salt/utils/rsax931.py
|
2017-09-05 13:54:16 +01:00
|
|
|
@@ -47,6 +47,9 @@ def _load_libcrypto():
|
2016-04-03 00:37:38 +01:00
|
|
|
lib = lib[0] if len(lib) > 0 else None
|
2017-09-05 13:54:16 +01:00
|
|
|
if lib:
|
|
|
|
return cdll.LoadLibrary(lib)
|
|
|
|
+ else:
|
|
|
|
+ return cdll.LoadLibrary('@libcrypto@')
|
|
|
|
+
|
2016-04-03 00:37:38 +01:00
|
|
|
raise OSError('Cannot locate OpenSSL libcrypto')
|
2017-09-05 13:54:16 +01:00
|
|
|
|
|
|
|
|