2022-01-25 03:21:06 +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-07-18 16:06:22 +00:00
|
|
|
"""
|
|
|
|
Attempt to load libcrypto.
|
|
|
|
"""
|
2022-01-25 03:21:06 +00:00
|
|
|
+ try:
|
|
|
|
+ return cdll.LoadLibrary('@libcrypto@')
|
|
|
|
+ except OSError:
|
|
|
|
+ pass
|
|
|
|
return cdll.LoadLibrary(_find_libcrypto())
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
|