diff options
Diffstat (limited to 'crypto/mdc2/mdc2.h')
-rw-r--r-- | crypto/mdc2/mdc2.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/mdc2/mdc2.h b/crypto/mdc2/mdc2.h index ec8e159fc9..00acd707cd 100644 --- a/crypto/mdc2/mdc2.h +++ b/crypto/mdc2/mdc2.h @@ -82,9 +82,10 @@ typedef struct mdc2_ctx_st void MDC2_Init(MDC2_CTX *c); -void MDC2_Update(MDC2_CTX *c, unsigned char *data, unsigned long len); +void MDC2_Update(MDC2_CTX *c, const unsigned char *data, unsigned long len); void MDC2_Final(unsigned char *md, MDC2_CTX *c); -unsigned char *MDC2(unsigned char *d, unsigned long n, unsigned char *md); +unsigned char *MDC2(const unsigned char *d, unsigned long n, + unsigned char *md); #ifdef __cplusplus } |