From: Kurt Zeilenga Date: Thu, 18 Dec 2003 04:34:26 +0000 (+0000) Subject: Top off the passwd update X-Git-Tag: OPENLDAP_REL_ENG_2_1_26~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fc1aed9f9d3b083fcd37657992d2e9f391815ed;p=thirdparty%2Fopenldap.git Top off the passwd update --- diff --git a/include/lutil.h b/include/lutil.h index 4cba4df7e2..d21a2bd61a 100644 --- a/include/lutil.h +++ b/include/lutil.h @@ -1,6 +1,7 @@ /* $OpenLDAP$ */ -/* - * Copyright 1998-2003 The OpenLDAP Foundation, Redwood City, California, USA +/* This work is part of OpenLDAP Software . + * + * Copyright 1998-2003 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -26,7 +27,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 */