2022-01-04 23:50:31 +00:00
|
|
|
--- a/salt/utils/rsax931.py 2021-11-24 00:39:57.940790184 +0100
|
|
|
|
+++ b/salt/utils/rsax931.py 2021-11-24 00:38:35.436728341 +0100
|
|
|
|
@@ -85,6 +85,10 @@
|
2020-06-18 20:38:54 +01:00
|
|
|
"""
|
|
|
|
Attempt to load libcrypto.
|
|
|
|
"""
|
2022-01-04 23:50:31 +00:00
|
|
|
+ try:
|
|
|
|
+ return cdll.LoadLibrary('@libcrypto@')
|
|
|
|
+ except OSError:
|
|
|
|
+ pass
|
|
|
|
return cdll.LoadLibrary(_find_libcrypto())
|
2017-09-05 13:54:16 +01:00
|
|
|
|
|
|
|
|