Skip to content

Commit

Permalink
lib-storage: Replace DBOX_GUID_BIN_LEN with GUID_128_SIZE
Browse files Browse the repository at this point in the history
DBOX_GUID_BIN_LEN define was removed in 0c909e, replace the use with
GUID_128_SIZE.
  • Loading branch information
mrannanj authored and cmouse committed Oct 30, 2017
1 parent 0c347e9 commit 111673e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib-storage/mail.c
Expand Up @@ -441,7 +441,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,
Expand Down

0 comments on commit 111673e

Please sign in to comment.