summaryrefslogtreecommitdiff
path: root/libbb/md5.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-04-03 16:39:31 +0000
committerBernhard Reutner-Fischer2006-04-03 16:39:31 +0000
commit421d9e59416850968707dfec7a665cb0211b8d1c (patch)
treecee92b2a5cd0ea7298aab569ed944fdeb59dbdf2 /libbb/md5.c
parent101a470068a62a70489797a3fdfa5084af80106e (diff)
downloadbusybox-421d9e59416850968707dfec7a665cb0211b8d1c.zip
busybox-421d9e59416850968707dfec7a665cb0211b8d1c.tar.gz
- move buffer allocation schemes to libbb.h
- include the correct headers: applets need busybox.h while lib* need libbb.h
Diffstat (limited to 'libbb/md5.c')
-rw-r--r--libbb/md5.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libbb/md5.c b/libbb/md5.c
index 8cec885..b5aa89f 100644
--- a/libbb/md5.c
+++ b/libbb/md5.c
@@ -1,9 +1,9 @@
/*
* md5.c - Compute MD5 checksum of strings according to the
* definition of MD5 in RFC 1321 from April 1992.
- *
+ *
* Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
- *
+ *
* Copyright (C) 1995-1999 Free Software Foundation, Inc.
* Copyright (C) 2001 Manuel Novoa III
* Copyright (C) 2003 Glenn L. McGrath
@@ -19,7 +19,7 @@
#include <string.h>
#include <unistd.h>
-#include "busybox.h"
+#include "libbb.h"
# if CONFIG_MD5_SIZE_VS_SPEED < 0 || CONFIG_MD5_SIZE_VS_SPEED > 3
# define MD5_SIZE_VS_SPEED 2
@@ -71,7 +71,7 @@ void md5_begin(md5_ctx_t *ctx)
* starting at BUFFER.
* It is necessary that LEN is a multiple of 64!!!
*/
-void md5_hash_block(const void *buffer, size_t len, md5_ctx_t *ctx)
+static void md5_hash_block(const void *buffer, size_t len, md5_ctx_t *ctx)
{
uint32_t correct_words[16];
const uint32_t *words = buffer;