--- include/lutil.h 2003/11/26 06:16:36 1.50 +++ include/lutil.h 2003/12/11 12:24:06 1.51 @@ -1,4 +1,4 @@ -/* $OpenLDAP: pkg/ldap/include/lutil.h,v 1.49 2003/05/14 23:18:45 ando Exp $ */ +/* $OpenLDAP: pkg/ldap/include/lutil.h,v 1.50 2003/11/26 06:16:36 kurt Exp $ */ /* This work is part of OpenLDAP Software . * * Copyright 1998-2003 The OpenLDAP Foundation. @@ -29,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 */