From dfb3bbb04d94823319ed33948543d57305b48efb Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 23 Jul 2007 09:51:53 +0000 Subject: Having some consts in the code never hurts... --- include/sha256.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sha256.h') diff --git a/include/sha256.h b/include/sha256.h index 91b5adc..60f5542 100644 --- a/include/sha256.h +++ b/include/sha256.h @@ -22,7 +22,7 @@ extern "C" { #endif void sha256_starts( sha256_context *ctx ); -void sha256_update( sha256_context *ctx, uint8 *input, uint32 length ); +void sha256_update( sha256_context *ctx, const uint8 *input, uint32 length ); void sha256_finish( sha256_context *ctx, uint8 digest[32] ); #ifdef __cplusplus -- cgit v1.2.3