diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-02-06 19:15:45 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2018-02-06 20:01:55 +0100 |
commit | 46f5203a8d1a05e464b5138b512d81a86dca6517 (patch) | |
tree | 2484ec94175c8936caca7d4552d002f3be6f33d4 /signature.c | |
parent | d714c9b427ae38d12423e6cc0f718a06d1f7c158 (diff) | |
download | tcpdump-46f5203a8d1a05e464b5138b512d81a86dca6517.tar.gz |
Style update
Use parens around the sizeof argument, to match the style used elsewhere.
Diffstat (limited to 'signature.c')
-rw-r--r-- | signature.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/signature.c b/signature.c index 466af01f..6f624428 100644 --- a/signature.c +++ b/signature.c @@ -81,8 +81,8 @@ signature_compute_hmac_md5(const uint8_t *text, int text_len, unsigned char *key */ /* start out by storing key in pads */ - memset(k_ipad, 0, sizeof k_ipad); - memset(k_opad, 0, sizeof k_opad); + memset(k_ipad, 0, sizeof(k_ipad)); + memset(k_opad, 0, sizeof(k_opad)); memcpy(k_ipad, key, key_len); memcpy(k_opad, key, key_len); |