]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - SHA1.c
Default to --auto=yes
[thirdparty/mdadm.git] / SHA1.c
diff --git a/SHA1.c b/SHA1.c
index 29e42baa410a9bdfe0e60bb179aaaec4279f9d45..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
--- a/SHA1.c
+++ b/SHA1.c
@@ -1,19 +0,0 @@
-
-/* Simple wrapper for code in sha1.c, to
- * provide SHA1() interface as provided by opensll.
- * I do this because I cannot get SHA1 when staticly linking.
- *
- * sha1.c sha1.h md5.h all copied from coreutils-5.94
- */
-
-#include "sha1.h"
-
-unsigned char *SHA1(unsigned char *buf, int len, unsigned char *dest)
-{
-       static unsigned char defdest[20];
-       if (dest == NULL) dest = defdest;
-
-       return (unsigned char *)sha1_buffer((const char*)buf,
-                                           len,
-                                           (void*)dest);
-}