aboutsummaryrefslogtreecommitdiff
path: root/libbb/md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/md5.c')
-rw-r--r--libbb/md5.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/libbb/md5.c b/libbb/md5.c
index 132efdf93..e672559cf 100644
--- a/libbb/md5.c
+++ b/libbb/md5.c
@@ -13,21 +13,13 @@
13 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. 13 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
14 */ 14 */
15 15
16#include <fcntl.h>
17#include <limits.h>
18#include <stdio.h>
19#include <stdint.h>
20#include <stdlib.h>
21#include <string.h>
22#include <unistd.h>
23
24#include "libbb.h" 16#include "libbb.h"
25 17
26# if CONFIG_MD5_SIZE_VS_SPEED < 0 || CONFIG_MD5_SIZE_VS_SPEED > 3 18#if CONFIG_MD5_SIZE_VS_SPEED < 0 || CONFIG_MD5_SIZE_VS_SPEED > 3
27# define MD5_SIZE_VS_SPEED 2 19# define MD5_SIZE_VS_SPEED 2
28# else 20#else
29# define MD5_SIZE_VS_SPEED CONFIG_MD5_SIZE_VS_SPEED 21# define MD5_SIZE_VS_SPEED CONFIG_MD5_SIZE_VS_SPEED
30# endif 22#endif
31 23
32/* Initialize structure containing state of computation. 24/* Initialize structure containing state of computation.
33 * (RFC 1321, 3.3: Step 3) 25 * (RFC 1321, 3.3: Step 3)