filter: Fix a memory leak in non-btr mode.
[paraslash.git] / sha1.c
diff --git a/sha1.c b/sha1.c
index bc2ec336fe353de3c2bb3853203e659b0a73385e..65524bc5119f3d187eb20c679d63bfff4c9d01d1 100644 (file)
--- a/sha1.c
+++ b/sha1.c
@@ -1,14 +1,20 @@
-#include "para.h"
-#include <openssl/sha.h>
+/*
+ * Copyright (C) 2007-2009 Andre Noll <maan@systemlinux.org>
+ *
+ * Licensed under the GPL v2. For licencing details see COPYING.
+ */
 
 /** \file sha1.c Secure Hash Algorithm, provided by openssl. */
 
+#include "para.h"
+#include <openssl/sha.h>
+
 /**
  * Compute the sha1 hash.
  *
- * \param data Pointer to the data to compute the hash valure from.
+ * \param data Pointer to the data to compute the hash value from.
  * \param len The length of \a data in bytes.
- * \param sha1 Result pointer
+ * \param sha1 Result pointer.
  *
  * \a sha1 must point to an area at least 20 bytes large.
  *