summaryrefslogtreecommitdiff
path: root/lib/sha.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-09-17 11:11:26 +0000
committerJim Meyering <jim@meyering.net>2000-09-17 11:11:26 +0000
commit12079963ab3e8b7e2f1cb7c89b97a49c0f872ce7 (patch)
tree3e307523cb29657339320a6b52a47dfaf76390cb /lib/sha.c
parent30ee9b30061a6e65ee0a4f80d413cf87e1adb13c (diff)
downloadcoreutils-12079963ab3e8b7e2f1cb7c89b97a49c0f872ce7.tar.xz
remove debug junk
Diffstat (limited to 'lib/sha.c')
-rw-r--r--lib/sha.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/sha.c b/lib/sha.c
index 6f4c5c2c5..d2b8bd34b 100644
--- a/lib/sha.c
+++ b/lib/sha.c
@@ -239,17 +239,6 @@ sha_process_bytes (const void *buffer, size_t len, struct sha_ctx *ctx)
#define F2(B,C,D) (B ^ C ^ D)
#define F3(B,C,D) ( ( B & C ) | ( D & ( B | C ) ) )
-#if SHA_DEBUG
-char bin2hex[16]={'0','1','2','3','4','5','6','7',
- '8','9','a','b','c','d','e','f'};
-# define BH(x) bin2hex[x]
-# define PH(x) \
- printf("%c%c%c%c%c%c%c%c\t", BH((x>>28)&0xf), \
- BH((x>>24)&0xf), BH((x>>20)&0xf), BH((x>>16)&0xf),\
- BH((x>>12)&0xf), BH((x>>8)&0xf), BH((x>>4)&0xf),\
- BH(x&0xf));
-#endif
-
/* Process LEN bytes of BUFFER, accumulating context into CTX.
It is assumed that LEN % 64 == 0. */