diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2021-06-11 01:12:39 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-11 11:33:36 +0200 |
commit | 8cc8c64ef57d88096f667d18dee0c7a143bcc35f (patch) | |
tree | caf0fe6f18eeba7a8f339290763441d624bd2863 /Ports | |
parent | c3d702431ac606310fe129154db039fcab60f25f (diff) | |
download | serenity-8cc8c64ef57d88096f667d18dee0c7a143bcc35f.zip |
Ports/OpenSSL: Remove unnecessary patch
Diffstat (limited to 'Ports')
-rw-r--r-- | Ports/openssl/patches/dlfcn_pathbyaddr.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/Ports/openssl/patches/dlfcn_pathbyaddr.patch b/Ports/openssl/patches/dlfcn_pathbyaddr.patch deleted file mode 100644 index 77b57b7e7d..0000000000 --- a/Ports/openssl/patches/dlfcn_pathbyaddr.patch +++ /dev/null @@ -1,38 +0,0 @@ -diff --git a/crypto/dso/dso_dlfcn.c b/crypto/dso/dso_dlfcn.c -index 78df723..c3de9cf 100644 ---- a/crypto/dso/dso_dlfcn.c -+++ b/crypto/dso/dso_dlfcn.c -@@ -421,33 +421,6 @@ static int dladdr(void *address, Dl_info *dl) - - static int dlfcn_pathbyaddr(void *addr, char *path, int sz) - { --# ifdef HAVE_DLINFO -- Dl_info dli; -- int len; -- -- if (addr == NULL) { -- union { -- int (*f) (void *, char *, int); -- void *p; -- } t = { -- dlfcn_pathbyaddr -- }; -- addr = t.p; -- } -- -- if (dladdr(addr, &dli)) { -- len = (int)strlen(dli.dli_fname); -- if (sz <= 0) -- return len + 1; -- if (len >= sz) -- len = sz - 1; -- memcpy(path, dli.dli_fname, len); -- path[len++] = 0; -- return len; -- } -- -- ERR_add_error_data(2, "dlfcn_pathbyaddr(): ", dlerror()); --# endif - return -1; - } - |