--- include/lutil.h 2003/05/14 23:18:45 1.49 +++ include/lutil.h 2004/01/01 18:16:28 1.49.2.3 @@ -1,13 +1,16 @@ -/* $OpenLDAP: pkg/ldap/include/lutil.h,v 1.48 2003/04/30 05:52:05 hyc Exp $ */ -/* - * Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA +/* $OpenLDAP: pkg/ldap/include/lutil.h,v 1.49.2.2 2003/12/15 22:05:20 kurt Exp $ */ +/* This work is part of OpenLDAP Software . + * + * Copyright 1998-2004 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted only as authorized by the OpenLDAP - * Public License. A copy of this license is available at - * http://www.OpenLDAP.org/license.html or in file LICENSE in the - * top-level directory of the distribution. + * Public License. + * + * A copy of this license is available in file LICENSE in the + * top-level directory of the distribution or, alternatively, at + * . */ #ifndef _LUTIL_H @@ -26,7 +29,7 @@ LDAP_BEGIN_DECL /* Avoid floating point math through extra padding */ #define LUTIL_BASE64_ENCODE_LEN(n) (((n)+2)/3 * 4) -#define LUTIL_BASE64_DECODE_LEN(n) (((n)+3)/4 * 3) +#define LUTIL_BASE64_DECODE_LEN(n) ((n)/4*3) /* ISC Base64 Routines */ /* base64.c */