https://bugs.openldap.org/show_bug.cgi?id=9436

          Issue ID: 9436
           Summary: OpenSSL 3.0: libldap uses depreciated functions
           Product: OpenLDAP
           Version: 2.5
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: ---
         Component: libraries
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

OpenLDAP master fails to build against OpenSSL 3.0 alpha when "no-deprecated"
is specified.

Currently hitting these errors:

./.libs/libldap.so: undefined reference to `SSL_get_peer_certificate'
./.libs/libldap.so: undefined reference to `PEM_read_bio_DHparams'
./.libs/libldap.so: undefined reference to `ERR_get_error_line'
./.libs/libldap.so: undefined reference to `DH_free'
./.libs/libldap.so: undefined reference to `SSL_CTX_set_tmp_dh'

Notes:

SSL_get_peer_certificate is SSL_get1_peer_certificate in 3.0.0

SSL_CTX_set_tmp_dh should be replaced as follows:

#  define SSL_CTX_set_tmp_dh(ctx,dh) \
        SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_DH,0,(char *)(dh))


Have to dig deeper for:

PEM_read_bio_DHparams
ERR_get_error_line
DH_free

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to