]> git.tuebingen.mpg.de Git - osl.git/blobdiff - hash.h
osl_open_table(): Remove pointless directory check.
[osl.git] / hash.h
diff --git a/hash.h b/hash.h
index 27b060139ed05966a6fa13abad32f3947725d973..6244d081e178c69281eb6c3b2dfbcd0e38cfbeaa 100644 (file)
--- a/hash.h
+++ b/hash.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2007-2009 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2007-2009 Andre Noll <maan@tuebingen.mpg.de>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
 /** hash arrays are always unsigned char. */
 #define HASH_TYPE unsigned char
 
-#include "sha1.h"
-/** We use openssl's sha1 implementation. */
+/** 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
 
 /**