diff options
author | Ralph Giles <giles@ghostscript.com> | 2008-09-29 23:53:01 +0200 |
---|---|---|
committer | Ralph Giles <giles@ghostscript.com> | 2008-09-29 23:53:01 +0200 |
commit | c64b8e63705bbb71e3cc6877c17479ba45bc02ef (patch) | |
tree | aafea6cc6651a521a22fc8e1ebaabfe792a77ded /include/fitz/stm_crypt.h | |
parent | 356c625a9914e445b2c424efac215a4c24b7408e (diff) | |
download | mupdf-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/fitz/stm_crypt.h')
-rw-r--r-- | include/fitz/stm_crypt.h | 2 |
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 */ |