Commit 440a2580 authored by Niels Möller's avatar Niels Möller

(yarrow256_seed): Use const for the seed_file input.

Rev: src/nettle/ChangeLog:1.215
Rev: src/nettle/yarrow.h:1.11
Rev: src/nettle/yarrow256.c:1.18
parent 23226b5d
2003-11-16 Niels Mller <nisse@harpo.hack.org>
* yarrow256.c (yarrow256_seed): Use const for the seed_file input.
2003-11-12 Niels Mller <niels@s3.kth.se>
* list-obj-sizes.awk: New function for decoding hex values, with a
......
......@@ -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
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment