2016-04-03 01:37:38 +02: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 12:28:06 +01:00
|
|
|
@@ -36,7 +36,6 @@ def _load_libcrypto():
|
2016-04-03 01:37:38 +02:00
|
|
|
'libcrypto.so*'))
|
|
|
|
lib = lib[0] if len(lib) > 0 else None
|
2016-12-23 12:28:06 +01:00
|
|
|
- if lib:
|
2016-04-03 01:37:38 +02:00
|
|
|
- return cdll.LoadLibrary(lib)
|
2016-12-23 12:28:06 +01:00
|
|
|
+ return cdll.LoadLibrary('@libcrypto@')
|
2016-04-03 01:37:38 +02:00
|
|
|
raise OSError('Cannot locate OpenSSL libcrypto')
|