nixpkgs/pkgs/tools/admin/salt/fix-libcrypto-loading.patch
2020-06-18 21:38:54 +02:00

14 lines
339 B
Diff

diff --git a/salt/utils/rsax931.py b/salt/utils/rsax931.py
index f827cc6db8..b728595186 100644
--- a/salt/utils/rsax931.py
+++ b/salt/utils/rsax931.py
@@ -74,7 +74,7 @@
"""
Attempt to load libcrypto.
"""
- return cdll.LoadLibrary(_find_libcrypto())
+ return cdll.LoadLibrary('@libcrypto@')
def _init_libcrypto():