/* $OpenLDAP$ */
/* This work is part of OpenLDAP Software <http://www.openldap.org/>.
*
- * Copyright 2010-2014 The OpenLDAP Foundation.
+ * Copyright 2010-2018 The OpenLDAP Foundation.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
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 ) )
{