From e6fd8bfbb054a0f2b879d97bf815a00c5a96e2e4 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 3 Jan 2011 19:21:03 +0000 Subject: [PATCH] Remove version from encoding (previously removed from SASL choices, but should be always absent) --- libraries/libldap/vc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) { -- 2.39.5