diff options
author | Michael Paquier | 2019-08-05 03:14:58 +0000 |
---|---|---|
committer | Michael Paquier | 2019-08-05 03:14:58 +0000 |
commit | 8548ddc61b5858b6466e69f66a6b1a7ea9daef06 (patch) | |
tree | e94be5d2f212ed5185180b0ebbb5fc060e1f32b6 /contrib/pgcrypto/sha1.c | |
parent | 75506195da81d75597a4025b72f8367e6c45f60d (diff) |
Fix inconsistencies and typos in the tree, take 9
This addresses more issues with code comments, variable names and
unreferenced variables.
Author: Alexander Lakhin
Discussion: https://postgr.es/m/7ab243e0-116d-3e44-d120-76b3df7abefd@gmail.com
Diffstat (limited to 'contrib/pgcrypto/sha1.c')
-rw-r--r-- | contrib/pgcrypto/sha1.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/contrib/pgcrypto/sha1.c b/contrib/pgcrypto/sha1.c index fb6a57d917c..64671ac64d9 100644 --- a/contrib/pgcrypto/sha1.c +++ b/contrib/pgcrypto/sha1.c @@ -59,16 +59,6 @@ static uint32 _K[] = {0x5a827999, 0x6ed9eba1, 0x8f1bbcdc, 0xca62c1d6}; #define BCOUNT (ctxt->c.b64[0] / 8) #define W(n) (ctxt->m.b32[(n)]) -#define PUTBYTE(x) \ -do { \ - ctxt->m.b8[(COUNT % 64)] = (x); \ - COUNT++; \ - COUNT %= 64; \ - ctxt->c.b64[0] += 8; \ - if (COUNT % 64 == 0) \ - sha1_step(ctxt); \ -} while (0) - #define PUTPAD(x) \ do { \ ctxt->m.b8[(COUNT % 64)] = (x); \ |