]> git.sur5r.net Git - openldap/commitdiff
Remove version from encoding
authorKurt Zeilenga <kurt@openldap.org>
Mon, 3 Jan 2011 19:21:03 +0000 (19:21 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 3 Jan 2011 19:21:03 +0000 (19:21 +0000)
(previously removed from SASL choices, but should be always absent)

libraries/libldap/vc.c

index af0e423963e92a7c78cc1c8577aad5f03decdc5b..1ebd2ed417d0ae4d364b24a09a3e60086f2ca665 100644 (file)
@@ -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)) {