changeset 22952:20f8ba61498e

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.
author Martti Rannanjärvi <martti.rannanjarvi@dovecot.fi>
date Tue, 24 Oct 2017 10:27:23 +0300
parents 25d147ae7057
children fa8ce7d554ab
files src/lib-storage/mail.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-storage/mail.c	Mon Oct 30 19:29:02 2017 +0200
+++ b/src/lib-storage/mail.c	Tue Oct 24 10:27:23 2017 +0300
@@ -468,7 +468,7 @@
 		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,