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