diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-lua/lua-resty-string/files | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'dev-lua/lua-resty-string/files')
| -rw-r--r-- | dev-lua/lua-resty-string/files/lua-resty-string-0.16-explicitly-load-libcrypto.patch | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/dev-lua/lua-resty-string/files/lua-resty-string-0.16-explicitly-load-libcrypto.patch b/dev-lua/lua-resty-string/files/lua-resty-string-0.16-explicitly-load-libcrypto.patch deleted file mode 100644 index 63712785d87b..000000000000 --- a/dev-lua/lua-resty-string/files/lua-resty-string-0.16-explicitly-load-libcrypto.patch +++ /dev/null @@ -1,73 +0,0 @@ -From 73c6a2fbb376ee6550b15e2c6487c86c27ed3a71 Mon Sep 17 00:00:00 2001 -From: Zurab Kvachadze <zurabid2016@gmail.com> -Date: Fri, 14 Mar 2025 16:49:04 +0100 -Subject: [PATCH] lib/resty: Explicitly load libcrypto in all crypto-exporting - FFI modules - -Lua modules in lib/resty provide FFI wrappers for cryptographic OpenSSL -functions without explicitly loading libcrypto itself. This commit makes -the modules load the library. - -Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com> ---- - lib/resty/aes.lua | 2 ++ - lib/resty/md5.lua | 2 ++ - lib/resty/random.lua | 2 ++ - lib/resty/sha.lua | 2 ++ - 4 files changed, 8 insertions(+) - -diff --git a/lib/resty/aes.lua b/lib/resty/aes.lua -index 377476f..8a9f9a1 100644 ---- a/lib/resty/aes.lua -+++ b/lib/resty/aes.lua -@@ -11,6 +11,8 @@ local C = ffi.C - local setmetatable = setmetatable - --local error = error - local type = type -+-- Load libcrypto into global namespace. -+_ = ffi.load("crypto", true) - - - local _M = { _VERSION = '0.16' } -diff --git a/lib/resty/md5.lua b/lib/resty/md5.lua -index 66b3b3e..09ce8c8 100644 ---- a/lib/resty/md5.lua -+++ b/lib/resty/md5.lua -@@ -7,6 +7,8 @@ local ffi_str = ffi.string - local C = ffi.C - local setmetatable = setmetatable - --local error = error -+-- Load libcrypto into global namespace. -+_ = ffi.load("crypto", true) - - - local _M = { _VERSION = '0.16' } -diff --git a/lib/resty/random.lua b/lib/resty/random.lua -index 153b1f3..673bf40 100644 ---- a/lib/resty/random.lua -+++ b/lib/resty/random.lua -@@ -7,6 +7,8 @@ local ffi_str = ffi.string - local C = ffi.C - --local setmetatable = setmetatable - --local error = error -+-- Load libcrypto into global namespace. -+_ = ffi.load("crypto", true) - - - local _M = { _VERSION = '0.16' } -diff --git a/lib/resty/sha.lua b/lib/resty/sha.lua -index ce4e50a..b631b1f 100644 ---- a/lib/resty/sha.lua -+++ b/lib/resty/sha.lua -@@ -2,6 +2,8 @@ - - - local ffi = require "ffi" -+-- Load libcrypto into global namespace. -+_ = ffi.load("crypto", true) - - - local _M = { _VERSION = '0.16' } --- -2.45.3 - |
