From: Jim Meyering Date: Sun, 17 Sep 2000 11:11:26 +0000 (+0000) Subject: remove debug junk X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=597ddd2b47c0e8d0ce46992ea2170dc2fdaefcc0;p=pspp remove debug junk --- diff --git a/lib/sha.c b/lib/sha.c index 6f4c5c2c51..d2b8bd34bd 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. */