The file contains only the declaration of sha1_hash() and the
definition of HASH_SIZE This commit moves HASH_SIZE from sha1.h to
hash.h and moves the declaration of sha1_hash() to hash.h, the only
file which needs it.
/** hash arrays are always unsigned char. */
#define HASH_TYPE unsigned char
-#include "sha1.h"
+/** Size of the hash value in bytes. */
+#define HASH_SIZE 20
+
+void sha1_hash(const char *data, unsigned long len, unsigned char *sha1);
+
/** Our own sha1 implementation, see sha1.c. */
#define hash_function sha1_hash
+++ /dev/null
-/** \file sha1.h Secure Hash Algorithm prototype */
-
-/** Size of the hash value in bytes. */
-#define HASH_SIZE 20
-void sha1_hash(const char *data, unsigned long len, unsigned char *sha1);