about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wrapped/wrappedlibssl.c')
-rw-r--r--src/wrapped/wrappedlibssl.c7
1 files changed, 1 insertions, 6 deletions
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"