From e1e857c93535de899dd11d221d1337cd3aee72c3 Mon Sep 17 00:00:00 2001 From: Christopher Wellons Date: Mon, 24 Jul 2017 12:23:55 -0400 Subject: [PATCH] Fix prototype for agent_read() --- src/enchive.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/enchive.c b/src/enchive.c index 7bd90b8..9eea7e9 100644 --- a/src/enchive.c +++ b/src/enchive.c @@ -167,7 +167,7 @@ joinstr(int n, ...) /** * Read the protection key from a key agent identified by its IV. */ -static int agent_read(const u8 *key, const u8 *id); +static int agent_read(u8 *key, const u8 *id); /** * Serve the protection key on a key agent identified by its IV. @@ -295,7 +295,7 @@ agent_run(const u8 *key, const u8 *iv) #else static int -agent_read(const u8 *key, const u8 *id) +agent_read(u8 *key, const u8 *id) { (void)key; (void)id;