X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Fsasl.c;h=fd4b04cdbcd9e14fcd4948414922d540a29f905b;hb=a17df0e810578d593808c6afeb0cdea55a65633c;hp=b985aa9650a8dd49e776f290845ad43577f323d6;hpb=1e66d540e13b7436f7cc9788280ebd10f7821c9c;p=openldap diff --git a/servers/slapd/sasl.c b/servers/slapd/sasl.c index b985aa9650..fd4b04cdbc 100644 --- a/servers/slapd/sasl.c +++ b/servers/slapd/sasl.c @@ -1,7 +1,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 1998-2005 The OpenLDAP Foundation. + * Copyright 1998-2006 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -542,7 +542,7 @@ slap_sasl_canonicalize( { Connection *conn = (Connection *)context; struct propctx *props = sasl_auxprop_getctx( sconn ); - struct propval auxvals[ SLAP_SASL_PROP_COUNT ] = { 0 }; + struct propval auxvals[ SLAP_SASL_PROP_COUNT ] = { { 0 } }; struct berval dn; int rc, which; const char *names[2]; @@ -658,7 +658,7 @@ slap_sasl_authorize( * (SLAP_SASL_PROP_COUNT - 1) because we skip "conn", * + 1 for NULL termination? */ - struct propval auxvals[ SLAP_SASL_PROP_COUNT ] = { 0 }; + struct propval auxvals[ SLAP_SASL_PROP_COUNT ] = { { 0 } }; struct berval authcDN, authzDN = BER_BVNULL; int rc;