]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Minor coding style tweak.
authorGuy Harris <[email protected]>
Thu, 23 Jun 2016 04:38:06 +0000 (21:38 -0700)
committerGuy Harris <[email protected]>
Thu, 23 Jun 2016 04:38:06 +0000 (21:38 -0700)
print-esp.c

index 8339a5678a43bcf2c595618416d7b0c4d8dbf1ce..6afa0631511aa8763db8d8baa15c6a5da8f4fff7 100644 (file)
@@ -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));