nixpkgs/pkgs/tools/admin/salt/fix-libcrypto-loading.patch
Aneesh Agrawal 270c0eb097 salt: init at 2015.8.8
Also init salttesting at 2015.7.10 as a build dependency.
2016-04-02 19:37:38 -04:00

12 lines
442 B
Diff

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
@@ -36,7 +36,7 @@ def _load_libcrypto():
'libcrypto.so*'))
lib = lib[0] if len(lib) > 0 else None
if lib:
- return cdll.LoadLibrary(lib)
+ return cdll.LoadLibrary('@libcrypto@')
raise OSError('Cannot locate OpenSSL libcrypto')