From 2fc1aed9f9d3b083fcd37657992d2e9f391815ed Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 18 Dec 2003 04:34:26 +0000 Subject: [PATCH] Top off the passwd update --- include/lutil.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 */ -- 2.47.2