From: Richard Russon Date: Sat, 21 Sep 2019 15:23:40 +0000 (+0100) Subject: fix prototypes in md5.h X-Git-Tag: 2019-10-25~37^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5688389a20bacc0da662b00f029061213af0f26d;p=neomutt fix prototypes in md5.h --- diff --git a/mutt/md5.h b/mutt/md5.h index 602059756..9616b1656 100644 --- a/mutt/md5.h +++ b/mutt/md5.h @@ -45,12 +45,12 @@ struct Md5Ctx md5_uint32 buffer[32]; }; -void *mutt_md5(const char *string, void *resbuf); +void *mutt_md5(const char *str, void *buf); void *mutt_md5_bytes(const void *buffer, size_t len, void *resbuf); void *mutt_md5_finish_ctx(struct Md5Ctx *md5ctx, void *resbuf); void mutt_md5_init_ctx(struct Md5Ctx *md5ctx); -void mutt_md5_process(const char *string, struct Md5Ctx *md5ctx); -void mutt_md5_process_bytes(const void *buffer, size_t len, struct Md5Ctx *md5ctx); +void mutt_md5_process(const char *str, struct Md5Ctx *md5ctx); +void mutt_md5_process_bytes(const void *buf, size_t buflen, struct Md5Ctx *md5ctx); void mutt_md5_toascii(const void *digest, char *resbuf); #endif /* MUTT_LIB_MD5_H */