summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRalph Giles <giles@ghostscript.com>2008-09-29 23:53:01 +0200
committerRalph Giles <giles@ghostscript.com>2008-09-29 23:53:01 +0200
commitc64b8e63705bbb71e3cc6877c17479ba45bc02ef (patch)
treeaafea6cc6651a521a22fc8e1ebaabfe792a77ded /include
parent356c625a9914e445b2c424efac215a4c24b7408e (diff)
downloadmupdf-c64b8e63705bbb71e3cc6877c17479ba45bc02ef.tar.xz
const-ify md5 interface.
Allow passing const data into the api without generating warnings. This requires propagating the const into the underlying implementation.
Diffstat (limited to 'include')
-rw-r--r--include/fitz/stm_crypt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fitz/stm_crypt.h b/include/fitz/stm_crypt.h
index 4e0bc725..57001752 100644
--- a/include/fitz/stm_crypt.h
+++ b/include/fitz/stm_crypt.h
@@ -20,7 +20,7 @@ struct fz_md5_s
};
void fz_md5init(fz_md5 *state);
-void fz_md5update(fz_md5 *state, unsigned char *input, unsigned inlen);
+void fz_md5update(fz_md5 *state, const unsigned char *input, const unsigned inlen);
void fz_md5final(fz_md5 *state, unsigned char digest[16]);
/* arc4 crypto */