summaryrefslogtreecommitdiff
path: root/dsa-sha256-sign.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2012-06-25 22:35:51 +0200
committerNiels Möller <nisse@lysator.liu.se>2012-06-25 22:35:51 +0200
commitba98962d5fb20ff238c5c77fa0206264b8c0bd64 (patch)
tree7417f564feaebf44ac0594df27ca2bf66cbbd385 /dsa-sha256-sign.c
parent0cc9526c98860e8edf6811e62a8134fffdc860d6 (diff)
downloadnettle-ba98962d5fb20ff238c5c77fa0206264b8c0bd64.tar.gz
Consistently use foo_func *f (rather than foo_func f) for declaring function pointer arguments.
Diffstat (limited to 'dsa-sha256-sign.c')
-rw-r--r--dsa-sha256-sign.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dsa-sha256-sign.c b/dsa-sha256-sign.c
index f8569f9f..020d146b 100644
--- a/dsa-sha256-sign.c
+++ b/dsa-sha256-sign.c
@@ -32,7 +32,7 @@
int
dsa_sha256_sign_digest(const struct dsa_public_key *pub,
const struct dsa_private_key *key,
- void *random_ctx, nettle_random_func random,
+ void *random_ctx, nettle_random_func *random,
const uint8_t *digest,
struct dsa_signature *signature)
{
@@ -43,7 +43,7 @@ dsa_sha256_sign_digest(const struct dsa_public_key *pub,
int
dsa_sha256_sign(const struct dsa_public_key *pub,
const struct dsa_private_key *key,
- void *random_ctx, nettle_random_func random,
+ void *random_ctx, nettle_random_func *random,
struct sha256_ctx *hash,
struct dsa_signature *signature)
{