]> granicus.if.org Git - sudo/commitdiff
tivoli-based ldap does not have ldapssl_err2string
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 2 Mar 2009 12:36:06 +0000 (12:36 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 2 Mar 2009 12:36:06 +0000 (12:36 +0000)
ldap.c

diff --git a/ldap.c b/ldap.c
index 3f136b5583689b7ba56f3b642a4a5c8691e3b2db..623901064bf53bcd67fe5633e6bb480803657118 100644 (file)
--- a/ldap.c
+++ b/ldap.c
@@ -1684,7 +1684,7 @@ sudo_ldap_open(nss)
        DPRINTF(("ldap_start_tls_s() ok"), 1);
 #elif defined(HAVE_LDAP_SSL_CLIENT_INIT) && defined(HAVE_LDAP_START_TLS_S_NP)
        if (ldap_ssl_client_init(NULL, NULL, 0, &rc) != LDAP_SUCCESS) {
-           warningx("ldap_ssl_client_init(): %s", ldapssl_err2string(rc));
+           warningx("ldap_ssl_client_init(): %s", ldap_err2string(rc));
            return(-1);
        }
        rc = ldap_start_tls_s_np(ld, NULL);