2016-04-03 00:37:38 +01:00
|
|
|
diff --git a/salt/utils/rsax931.py b/salt/utils/rsax931.py
|
|
|
|
index 9eb1f4a..d764f7a 100644
|
|
|
|
--- a/salt/utils/rsax931.py
|
|
|
|
+++ b/salt/utils/rsax931.py
|
2016-12-23 11:28:06 +00:00
|
|
|
@@ -36,7 +36,6 @@ def _load_libcrypto():
|
2016-04-03 00:37:38 +01:00
|
|
|
'libcrypto.so*'))
|
|
|
|
lib = lib[0] if len(lib) > 0 else None
|
2016-12-23 11:28:06 +00:00
|
|
|
- if lib:
|
2016-04-03 00:37:38 +01:00
|
|
|
- return cdll.LoadLibrary(lib)
|
2016-12-23 11:28:06 +00:00
|
|
|
+ return cdll.LoadLibrary('@libcrypto@')
|
2016-04-03 00:37:38 +01:00
|
|
|
raise OSError('Cannot locate OpenSSL libcrypto')
|