Move sha1.[ch] to crypt.[ch] and make crypto API independent of sha1.
authorAndre Noll <maan@systemlinux.org>
Mon, 28 Feb 2011 23:28:27 +0000 (00:28 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 27 Mar 2011 14:43:11 +0000 (16:43 +0200)
commite7593d7c153bfca2131b18621fb24ae18c1c0cb3
treed9a6bdf0cc238a885edfd495165cb3c48219a7c2
parenta5ec1a6f44b149c0b018c1da8c1703109c5bdc8c
Move sha1.[ch] to crypt.[ch] and make crypto API independent of sha1.

This patch moves all public functions related to sha1 to crypt.c. This
allows to remove sha1.c, sha1.h and hash.h. It also removes the
HASH_TYPE define and avoids the word "sha1" in the public API and
its callers. The former sha1_hash() is now called hash_function().
12 files changed:
afs.h
aft.c
client_common.c
command.c
configure.ac
crypt.c
crypt.h
error.h
hash.h [deleted file]
server.c
sha1.c [deleted file]
sha1.h [deleted file]