diff --git a/ChangeLog b/ChangeLog index 5de7306c442842e5327aa71f1ccbdf2f3f41aa50..52cb7bdf80a03532c86447acb7eb06c2a695aa73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-11-16 Niels Möller <nisse@harpo.hack.org> + + * yarrow256.c (yarrow256_seed): Use const for the seed_file input. + 2003-11-12 Niels Möller <niels@s3.kth.se> * list-obj-sizes.awk: New function for decoding hex values, with a diff --git a/yarrow.h b/yarrow.h index a83e53d3a7924b570772cd880882d70a493da444..36f8741e3c2b99a99b0ea199f1664f824aa8870b 100644 --- a/yarrow.h +++ b/yarrow.h @@ -81,7 +81,7 @@ yarrow256_init(struct yarrow256_ctx *ctx, void yarrow256_seed(struct yarrow256_ctx *ctx, unsigned length, - uint8_t *seed_file); + const uint8_t *seed_file); /* Returns 1 on reseed */ int diff --git a/yarrow256.c b/yarrow256.c index ba06fdc4ff9f885124dd38bcaa3c09148af558a8..60604a8ddae5e388f5e6d3297f77e92ad822f87f 100644 --- a/yarrow256.c +++ b/yarrow256.c @@ -107,7 +107,7 @@ yarrow256_init(struct yarrow256_ctx *ctx, void yarrow256_seed(struct yarrow256_ctx *ctx, unsigned length, - uint8_t *seed_file) + const uint8_t *seed_file) { /* FIXME: Perhaps it's better to use assert ? */ if (!length)