From: Niels Möller Date: Wed, 19 Sep 2012 21:18:14 +0000 (+0200) Subject: PBKDF2 macro: Removed improper const. X-Git-Tag: nettle_2.6_release_20130116~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89808f54da80f1193210509a81dfba5f2f3bf352;p=thirdparty%2Fnettle.git PBKDF2 macro: Removed improper const. --- 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), \