[blfs] 01/03: openldap: fix for OpenSSL-4

"Git Owner" ([email protected] via blfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch trunk
in repository blfs.

commit 4e4ff408c5aeb4d5974ee3d04b983dc25d8b7719
Author: Pierre Labastie <[email protected]>
AuthorDate: Thu May 21 11:50:31 2026 +0200

    openldap: fix for OpenSSL-4
---
 server/other/openldap.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/server/other/openldap.xml b/server/other/openldap.xml
index 37d8e2e180..df2d5dbc21 100644
--- a/server/other/openldap.xml
+++ b/server/other/openldap.xml
@@ -100,6 +100,15 @@
   <sect2 role="installation">
     <title>Installation of OpenLDAP</title>
 
+    <para>
+      Wether you need the client or the server, first apply a fix to
+      build with OpenSSL-4:
+    </para>
+
+<screen><userinput>sed -e 's/cn->length/ASN1_STRING_length(cn)/g'  \
+    -e 's/cn->data/ASN1_STRING_get0_data(cn)/g' \
+    -i libraries/libldap/tls_o.c</userinput></screen>
+
     <note>
       <para>
         If you only need to install the client side <command>ldap*</command>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.