From: Guy Harris Date: Thu, 23 Jun 2016 04:38:06 +0000 (-0700) Subject: Minor coding style tweak. X-Git-Tag: tcpdump-4.8.0~18 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/066ee5ae71c8b9794436f4e203160c16d680e99b Minor coding style tweak. --- diff --git a/print-esp.c b/print-esp.c index 8339a567..6afa0631 100644 --- a/print-esp.c +++ b/print-esp.c @@ -128,7 +128,7 @@ EVP_CIPHER_CTX_new(void) { EVP_CIPHER_CTX *ctx; - ctx = malloc(sizeof (EVP_CIPHER_CTX)); + ctx = malloc(sizeof(*ctx)); if (ctx == NULL) return (NULL); memset(ctx, 0, sizeof(*ctx));