Home | History | Annotate | Download | only in cksum
History log of /src/usr.bin/cksum/md5.c
RevisionDateAuthorComments
 1.10  29-Dec-2008  christos fix 64 bit time_t
 1.9  24-Aug-2005  elad Fix some lint warnings.
 1.8  20-Jan-2005  xtraeme branches: 1.8.2;
whitespace, remove main() prototype.
 1.7  12-Jan-2005  xtraeme ANSIfy another function missed in previous.
 1.6  12-Jan-2005  xtraeme * Kill __P()
* ANSIfy
* No parenthesis are needed around the return value
 1.5  20-Jun-2004  jmc Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')

Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).

Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.

Fixes PR's: PR#17762 PR#25944
 1.4  31-Mar-2002  bjh21 branches: 1.4.4;
Protect __RCSID and __COPYRIGHT from being invoked if not defined.
 1.3  20-Mar-2001  atatat Add MD2, MD4, SHA1, and RMD160 support to cksum. Adding new hashes to
cksum(1) should now be easy.
 1.2  17-Oct-1997  lukem WARNSify
 1.1  30-Jan-1997  thorpej Add support for generating MD5 checksums, partially derived from the
FreeBSD md5(1) program. MD5 checksums may be generated by using the
"-m" flag to cksum, or by invoking this program as "md5".
 1.4.4.1  22-Jun-2004  tron Pull up revision 1.5 (requested by jmc in ticket #527):
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
 1.8.2.1  12-Sep-2005  tron Apply patch (requested by elad in ticket #754):
- Deprecate -1, -2, -4, -5, -6, -m flags.
- Add -a <algorithm> flag.
- Support SHA2 hashing.
cksum(1) now supports ``sha256'', ``sha384'', and ``sha512''.

RSS XML Feed