From 4aca87515a5083ae0e31ce3177189fd43b6d05ac Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 3 Jan 2015 13:58:15 +0100 Subject: patch to Vanilla Tomato 1.28 --- .../src/router/busybox/coreutils/md5_sha1_sum.c | 192 +++++++++++++++++++++ 1 file changed, 192 insertions(+) create mode 100644 release/src/router/busybox/coreutils/md5_sha1_sum.c (limited to 'release/src/router/busybox/coreutils/md5_sha1_sum.c') diff --git a/release/src/router/busybox/coreutils/md5_sha1_sum.c b/release/src/router/busybox/coreutils/md5_sha1_sum.c new file mode 100644 index 00000000..a988b9cb --- /dev/null +++ b/release/src/router/busybox/coreutils/md5_sha1_sum.c @@ -0,0 +1,192 @@ +/* vi: set sw=4 ts=4: */ +/* + * Copyright (C) 2003 Glenn L. McGrath + * Copyright (C) 2003-2004 Erik Andersen + * + * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. + */ + +#include "libbb.h" + +typedef enum { + /* 4th letter of applet_name is... */ + HASH_MD5 = 's', /* "md5>s