From 9d8cfbd2cbfe3b185967ca8a406f5e7ff5adddb6 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Wed, 10 Oct 2012 00:08:33 +0200 Subject: [PATCH] umac128_update() now takes a const input --- ssh/umac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssh/umac.h b/ssh/umac.h index 2a1408f..ebed06f 100644 --- a/ssh/umac.h +++ b/ssh/umac.h @@ -118,7 +118,7 @@ int uhash(uhash_ctx_t ctx, /* matching umac-128 API, we reuse umac_ctx, since it's opaque */ struct umac_ctx *umac128_new(u_char key[]); -int umac128_update(struct umac_ctx *ctx, u_char *input, long len); +int umac128_update(struct umac_ctx *ctx, const u_char *input, long len); int umac128_final(struct umac_ctx *ctx, u_char tag[], u_char nonce[8]); int umac128_delete(struct umac_ctx *ctx);