From b527ebbf5be0949df3b9dcf0806109acc8119476 Mon Sep 17 00:00:00 2001 From: rajdakin Date: Sat, 10 Feb 2024 15:06:08 +0100 Subject: Wrapped libraries refactor (#1257) * [MISC] Removed a warning caused by tab/space mismatch * [WRAPPED] Factored out `getMy` and `freeMy` calls * [WRAPPED] Small cleanup of the init header * [WRAPPED] Factored out `SETALT` * [WRAPPED] Factored out needed libs --- src/wrapped/wrappedlibssl.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/wrapped/wrappedlibssl.c') diff --git a/src/wrapped/wrappedlibssl.c b/src/wrapped/wrappedlibssl.c index 056c2ef9..6860531f 100644 --- a/src/wrapped/wrappedlibssl.c +++ b/src/wrapped/wrappedlibssl.c @@ -514,11 +514,6 @@ EXPORT void my_SSL_CTX_set_alpn_select_cb(x64emu_t* emu, void* ctx, void* f ,voi my->SSL_CTX_set_alpn_select_cb(ctx, find_alpn_select_Fct(f), arg); } -#define CUSTOM_INIT \ - getMy(lib); \ - setNeededLibs(lib, 2, "libcrypto.so.1.1", "libpthread.so.0"); - -#define CUSTOM_FINI \ - freeMy(); +#define NEEDED_LIBS "libcrypto.so.1.1", "libpthread.so.0" #include "wrappedlib_init.h" -- cgit 1.4.1