summaryrefslogtreecommitdiff
path: root/include/sha256.h
diff options
context:
space:
mode:
authorpixel <pixel>2007-07-23 09:51:53 +0000
committerpixel <pixel>2007-07-23 09:51:53 +0000
commitdfb3bbb04d94823319ed33948543d57305b48efb (patch)
treef7b9acbfdefff19c5a534f64606414a702a491ac /include/sha256.h
parent9e8aec3df93a2c3ddbfa210c623ccd481d0fe4a6 (diff)
Having some consts in the code never hurts...
Diffstat (limited to 'include/sha256.h')
-rw-r--r--include/sha256.h2
1 files changed, 1 insertions, 1 deletions
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