From: Timo Sirainen Date: Sun, 24 Jul 2016 22:26:50 +0000 (-0400) Subject: lib: Potential compiling fix. X-Git-Tag: 2.3.0.rc1~3291 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5140f38cb347593aa60a44ab4b0fe60a0b17f808;p=thirdparty%2Fdovecot%2Fcore.git lib: Potential compiling fix. STATIC_ARRAY apparently requires that the parameter is named in some gcc versions? In any case doesn't hurt. --- diff --git a/src/lib/sha1.h b/src/lib/sha1.h index 73b3110582..6fadeea237 100644 --- a/src/lib/sha1.h +++ b/src/lib/sha1.h @@ -76,8 +76,8 @@ typedef struct sha1_ctxt SHA1_CTX; #define SHA1_RESULTLEN (160/8) -extern void sha1_get_digest(const void *, size_t, - unsigned char [STATIC_ARRAY SHA1_RESULTLEN]); +extern void sha1_get_digest(const void *data, size_t size, + unsigned char result[STATIC_ARRAY SHA1_RESULTLEN]); extern const struct hash_method hash_method_sha1;