<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">--- configure.in	2024-03-08 16:29:02
+++ configure.in	2024-03-08 16:37:35
@@ -30,7 +30,7 @@
 AC_CHECK_LIB([lber],[main])
 AC_CHECK_LIB([ldap],[main],:,AC_MSG_ERROR([libldap not found]))
 AC_CHECK_LIB([ldap],[ldap_initialize],,AC_MSG_ERROR([libldap present but obsolete]))
-AC_CHECK_LIB([ldap],[ldap_bv2dn_x],AC_DEFINE(LIBLDAP22),AC_DEFINE(LIBLDAP21))
+AC_CHECK_LIB([ldap],[ldap_bv2dn],AC_DEFINE(LIBLDAP22),AC_DEFINE(LIBLDAP21))
 
 # sasl
 AC_CHECK_HEADER([sasl/sasl.h],AC_DEFINE(HAVE_SASL),AC_MSG_WARN([SASL support disabled]))
--- diff.c	2024-03-08 16:29:02
+++ diff.c	2024-03-08 16:37:04
@@ -215,7 +215,7 @@
         struct berval bv;
         bv.bv_val = str;
         bv.bv_len = strlen(str);
-        ldap_bv2dn_x(&amp;bv, out, flags);
+        ldap_bv2dn(&amp;bv, out, flags);
 }
 #else
 #error oops
--- error.c	2024-03-08 16:29:02
+++ error.c	2024-03-08 16:32:39
@@ -18,6 +18,7 @@
 #include &lt;errno.h&gt;
 #include &lt;fcntl.h&gt;
 #include &lt;glib.h&gt;
+#define LDAP_DEPRECATED 1
 #include &lt;ldap.h&gt;
 #include &lt;stdio.h&gt;
 #include &lt;stdlib.h&gt;
--- port.c	2024-03-08 16:29:02
+++ port.c	2024-03-08 16:31:00
@@ -31,10 +31,12 @@
 #include &lt;unistd.h&gt;
 
 #include "config.h"
+#include "common.h"
 
 #if defined(HAVE_OPENSSL)
 #include &lt;openssl/sha.h&gt;
 #include &lt;openssl/md5.h&gt;
+#include &lt;openssl/rand.h&gt;
 #elif defined(HAVE_GNUTLS)
 #include &lt;gnutls/gnutls.h&gt;
 #include &lt;gnutls/openssl.h&gt;
--- common.h	2022-03-10 23:10:00.000000000 -0500
+++ common.h	2022-03-10 23:05:40.000000000 -0500
@@ -282,6 +283,7 @@
 int adjoin_ptr(GPtrArray *, void *);
 void init_dialog(tdialog *, enum dialog_mode, char *, char *);
 void dialog(char *header, tdialog *, int, int);
+void fdcp(int fdsrc, int fddst);
 
 /*
  * schema.c
@@ -343,6 +345,7 @@
 int g_string_append_ssha(GString *string, char *key);
 int g_string_append_md5(GString *string, char *key);
 int g_string_append_smd5(GString *string, char *key);
+int on_exit(void (*function)(int, void *), void *arg);
 
 /*
  * base64.c
</pre></body></html>