From: Martti Rannanjärvi Date: Tue, 24 Oct 2017 07:27:23 +0000 (+0300) Subject: lib-storage: Replace DBOX_GUID_BIN_LEN with GUID_128_SIZE X-Git-Tag: 2.2.36~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=506d5962ba249b0b313cfa324ede660b80fb5a78;p=thirdparty%2Fdovecot%2Fcore.git lib-storage: Replace DBOX_GUID_BIN_LEN with GUID_128_SIZE DBOX_GUID_BIN_LEN define was removed in 0c909e, replace the use with GUID_128_SIZE. --- diff --git a/src/lib-storage/mail.c b/src/lib-storage/mail.c index 3df6725959..a3e7dc1fca 100644 --- a/src/lib-storage/mail.c +++ b/src/lib-storage/mail.c @@ -468,7 +468,7 @@ void mail_generate_guid_128_hash(const char *guid, guid_128_t guid_128_r) buffer_create_from_data(&buf, guid_128_r, GUID_128_SIZE); buffer_set_used_size(&buf, 0); sha1_get_digest(guid, strlen(guid), sha1_sum); -#if SHA1_RESULTLEN < DBOX_GUID_BIN_LEN +#if SHA1_RESULTLEN < GUID_128_SIZE # error not possible #endif buffer_append(&buf,