X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=contrib%2Fslapd-modules%2Fvc%2Fvc.c;h=ded9c503b67698ac284b7b57ac79ca820929020d;hb=59e9ff6243465640956b58ad1756a3ede53eca7c;hp=6146cb78672a83ca9b70df8a99ffbdbe886a523b;hpb=be3971d5d2b0cf838629509fff7f168d73dbf708;p=openldap diff --git a/contrib/slapd-modules/vc/vc.c b/contrib/slapd-modules/vc/vc.c index 6146cb7867..ded9c503b6 100644 --- a/contrib/slapd-modules/vc/vc.c +++ b/contrib/slapd-modules/vc/vc.c @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 2010-2013 The OpenLDAP Foundation. + * Copyright 2010-2018 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -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 ) ) {