From 7d70b772c10d2d0346134c40b27c3e05a160573a Mon Sep 17 00:00:00 2001 From: Philippe Charnier Date: Mon, 24 Nov 1997 07:29:12 +0000 Subject: [PATCH] Key is 8 bytes according to code, not 10 as stated in man page. Add rcsid. --- libexec/makekey/makekey.8 | 4 ++-- libexec/makekey/makekey.c | 8 +++++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/libexec/makekey/makekey.8 b/libexec/makekey/makekey.8 index dc367bf50f57..73f444f2b90a 100644 --- a/libexec/makekey/makekey.8 +++ b/libexec/makekey/makekey.8 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)makekey.8 8.2 (Berkeley) 12/11/93 -.\" $Id$ +.\" $Id: makekey.8,v 1.7 1997/02/22 14:21:50 peter Exp $ .\" .Dd December 11, 1993 .Dt MAKEKEY 8 @@ -45,7 +45,7 @@ encrypts a key and salt which it reads from the standard input and writes the result to the standard output. The key is expected to be -ten bytes; the salt is expected to be two bytes. +eight bytes; the salt is expected to be two bytes. See .Xr crypt 3 for more information on what characters the key and salt can contain diff --git a/libexec/makekey/makekey.c b/libexec/makekey/makekey.c index 482908d75362..c04abc496db9 100644 --- a/libexec/makekey/makekey.c +++ b/libexec/makekey/makekey.c @@ -29,18 +29,20 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $Id$ */ #ifndef lint -static char copyright[] = +static const char copyright[] = "@(#) Copyright (c) 1990, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif /* not lint */ #ifndef lint +#if 0 static char sccsid[] = "@(#)makekey.c 8.1 (Berkeley) 6/4/93"; +#endif +static const char rcsid[] = + "$Id$"; #endif /* not lint */ #include