summaryrefslogtreecommitdiff
path: root/pbkdf2.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2012-09-19 23:18:14 +0200
committerNiels Möller <nisse@lysator.liu.se>2012-09-19 23:18:14 +0200
commit89808f54da80f1193210509a81dfba5f2f3bf352 (patch)
tree8e716c72d66b23aee44d584df32c50e8bd726b6d /pbkdf2.h
parent15a4d92d077cc3bb656aee078229e0167dfdb1d6 (diff)
downloadnettle-89808f54da80f1193210509a81dfba5f2f3bf352.tar.gz
PBKDF2 macro: Removed improper const.
Diffstat (limited to 'pbkdf2.h')
-rw-r--r--pbkdf2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbkdf2.h b/pbkdf2.h
index 59719ae1..a0378e61 100644
--- a/pbkdf2.h
+++ b/pbkdf2.h
@@ -46,7 +46,7 @@ pbkdf2 (void *mac_ctx, unsigned digest_size,
#define PBKDF2(ctx, digest_size, update, digest, \
length, dst, iterations, salt_length, salt) \
- (0 ? ((update)((ctx), 0, (const uint8_t *) 0), \
+ (0 ? ((update)((ctx), 0, (uint8_t *) 0), \
(digest)((ctx), 0, (uint8_t *) 0)) \
: pbkdf2 ((ctx), (digest_size), \
(nettle_hash_update_func *)(update), \