From ba98962d5fb20ff238c5c77fa0206264b8c0bd64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Mon, 25 Jun 2012 22:35:51 +0200 Subject: Consistently use foo_func *f (rather than foo_func f) for declaring function pointer arguments. --- cbc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cbc.c') diff --git a/cbc.c b/cbc.c index 6e09c9bd..4eb9a19b 100644 --- a/cbc.c +++ b/cbc.c @@ -37,7 +37,7 @@ #include "nettle-internal.h" void -cbc_encrypt(void *ctx, nettle_crypt_func f, +cbc_encrypt(void *ctx, nettle_crypt_func *f, unsigned block_size, uint8_t *iv, unsigned length, uint8_t *dst, const uint8_t *src) @@ -56,7 +56,7 @@ cbc_encrypt(void *ctx, nettle_crypt_func f, #define CBC_BUFFER_LIMIT 512 void -cbc_decrypt(void *ctx, nettle_crypt_func f, +cbc_decrypt(void *ctx, nettle_crypt_func *f, unsigned block_size, uint8_t *iv, unsigned length, uint8_t *dst, const uint8_t *src) -- cgit v1.2.1