From: Kurt Zeilenga Date: Mon, 3 Jan 2011 19:21:03 +0000 (+0000) Subject: Remove version from encoding X-Git-Tag: MIGRATION_CVS2GIT~278 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e6fd8bfbb054a0f2b879d97bf815a00c5a96e2e4;p=openldap Remove version from encoding (previously removed from SASL choices, but should be always absent) --- diff --git a/libraries/libldap/vc.c b/libraries/libldap/vc.c index af0e423963..1ebd2ed417 100644 --- a/libraries/libldap/vc.c +++ b/libraries/libldap/vc.c @@ -134,8 +134,8 @@ ldap_verify_credentials(LDAP *ld, if (mechanism == LDAP_SASL_SIMPLE) { assert(!cookie); - rc = ber_printf(ber, "{istON}", - 3, dn, LDAP_AUTH_SIMPLE, cred); + rc = ber_printf(ber, "{stON}", + dn, LDAP_AUTH_SIMPLE, cred); } else { if (!cred || BER_BVISNULL(cred)) {