From owner-freebsd-commit Wed Feb 7 07:02:06 1996 Return-Path: owner-commit Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA04450 for freebsd-commit-outgoing; Wed, 7 Feb 1996 07:02:06 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA04436 for cvs-all-outgoing; Wed, 7 Feb 1996 07:01:57 -0800 (PST) Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA04426 for cvs-user-outgoing; Wed, 7 Feb 1996 07:01:53 -0800 (PST) Received: (from peter@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA04417 Wed, 7 Feb 1996 07:01:50 -0800 (PST) Date: Wed, 7 Feb 1996 07:01:50 -0800 (PST) From: Peter Wemm Message-Id: <199602071501.HAA04417@freefall.freebsd.org> To: CVS-committers, cvs-user Subject: cvs commit: src/secure/lib/libcrypt Makefile crypt.3 crypt.c Sender: owner-commit@FreeBSD.ORG Precedence: bulk peter 96/02/07 07:01:49 Branch: secure/lib/libcrypt RELENG_2_1_0 Modified: secure/lib/libcrypt Makefile crypt.3 crypt.c Log: Add Mark Murray's md5 recognition ($1$) into the libdescrypt library. This is a "trivial" change - if it is presented with a "$1$ salt (which is illegal for the DES crypt), it switches to the md5 routine instead. If it never sees a MD5 string, it behaves exactly as before. This will be a lifesaver for people who install from cdrom, add users or set passwords, then go and select the "secure" dist from the ftp server and would have locked themselves out of their machine. Some -Wall cleanups came along with it. Revision Changes Path 1.7.6.1 +5 -13 src/secure/lib/libcrypt/Makefile 1.2.6.1 +9 -1 src/secure/lib/libcrypt/crypt.3 1.6.4.1 +10 -10 src/secure/lib/libcrypt/crypt.c