]> git.sur5r.net Git - openldap/commitdiff
ITS#8632 request the correct type
authorOndřej Kuzník <ondra@mistotebe.net>
Mon, 10 Apr 2017 10:26:28 +0000 (11:26 +0100)
committerHoward Chu <hyc@openldap.org>
Mon, 10 Apr 2017 13:26:56 +0000 (14:26 +0100)
contrib/slapd-modules/vc/vc.c

index 64394f57ae0f333977b1005dd20e51c8101ccab0..020de3fb60a6f4b1d386c3bd6077d4b2cd7501d7 100644 (file)
@@ -255,7 +255,7 @@ vc_exop(
                break;
 
        case LDAP_AUTH_SASL:
-               tag = ber_scanf( ber, "{s" /*}*/ , &mechanism );
+               tag = ber_scanf( ber, "{m" /*}*/ , &mechanism );
                if ( tag == LBER_ERROR || 
                        BER_BVISNULL( &mechanism ) || BER_BVISEMPTY( &mechanism ) )
                {