about summary refs log tree commit diff
path: root/pkgs/tools/admin/salt/fix-libcrypto-loading.patch
blob: c5cc1bde5d077155c5d7d94a98bcf1798d979e17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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')