From b455df4fa471e390f97f7b09e3ab1614b85f42d3 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Fri, 2 Aug 2019 11:32:47 -0300 Subject: [PATCH] Implementing winldap. --- configure.ac | 2 +- lib3270.cbp | 3 +++ src/core/connect.c | 13 +++++++++++++ src/core/windows/util.c | 2 +- src/include/lib3270-internals.h | 3 +++ src/ssl/linux/ldap.c | 8 +++++--- src/ssl/negotiate.c | 30 ------------------------------ src/ssl/windows/getcrl.c | 7 +++++++ src/ssl/windows/ldap.c | 171 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/ssl/windows/private.h | 2 +- 10 files changed, 205 insertions(+), 36 deletions(-) create mode 100644 src/ssl/windows/ldap.c diff --git a/configure.ac b/configure.ac index 1e87cd0..9a9a3d1 100644 --- a/configure.ac +++ b/configure.ac @@ -79,7 +79,7 @@ case "$host" in *-mingw32|*-pc-msys) app_cv_osname="windows" CFLAGS="$CFLAGS -pthread -D_WIN32_WINNT=0x0600" - LIBS="$LIBS -lws2_32 -lwtsapi32 -lcomdlg32" + LIBS="$LIBS -lws2_32 -lwtsapi32 -lcomdlg32 -lwldap32" LDFLAGS="$LDFLAGS -pthread" DLL_LDFLAGS="-shared -Wl,--output-def,\$(@D)/\$(LIBNAME).def" DLLEXT=".dll" diff --git a/lib3270.cbp b/lib3270.cbp index 1dcead6..671c57e 100644 --- a/lib3270.cbp +++ b/lib3270.cbp @@ -288,6 +288,9 @@ + +