summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1997-11-24 07:29:12 +0000
committercharnier <charnier@FreeBSD.org>1997-11-24 07:29:12 +0000
commit8029befc43d14fba09ca80ffb7f82d5fe69f0407 (patch)
tree4e7cc9d6f3e96ea16fae77b0d6101375aae847e6 /libexec
parent2066ba97cf5c286395d1e3584cff4e8fdb31a545 (diff)
downloadFreeBSD-src-8029befc43d14fba09ca80ffb7f82d5fe69f0407.zip
FreeBSD-src-8029befc43d14fba09ca80ffb7f82d5fe69f0407.tar.gz
Key is 8 bytes according to code, not 10 as stated in man page. Add rcsid.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/makekey/makekey.84
-rw-r--r--libexec/makekey/makekey.c8
2 files changed, 7 insertions, 5 deletions
diff --git a/libexec/makekey/makekey.8 b/libexec/makekey/makekey.8
index dc367bf..73f444f 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 482908d..c04abc4 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 <sys/types.h>
OpenPOWER on IntegriCloud