Updated copyright notices to include the year 2018.
lib-storage: Make parsed postmaster_address available in mail_storage_settings->parsed_postmaster_address.
global: Use t_buffer_create sed -i -e 's/buffer_create_dynamic(pool_datastack_create(), */t_buffer_create(/g'
mail-crypt: test-mail-key - Fix potential crash on a failed test Avoids "Uninitialized argument value" warning from static analyzer.
lib-storage: Add reason to mailbox_transaction_begin() Remove mailbox_transaction_set_reason().
global: Remove random_init/random_deinit calls lib already initializes it.
test: mail-crypt: Check dcrypt_id_key_private_old return value Makes static analyzers happier
global: Log internal storage error on failure
global: Replace mail_storage_service_user_free() with _unref()
mail-crypt: Do not restrict access in unit test This works around problem with docker
Updated copyright notices to include the year 2017.
global: Replaced all instances of memset(p, 0, sizeof(*p)) with the new i_zero() macro. Used the following script: C_FILES=`git ls-files *.c` H_FILES=`git ls-files *.h` for F in "$C_FILES $H_FILES"; do echo "$F" perl -p -i -e 's/safe_memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero_safe(&$1)/g' $F perl -p -i -e 's/safe_memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero_safe($1)/g' $F perl -p -i -e 's/memset\(&\(?([^,]*)\)?,\s*0,\s*sizeof\(\g1\)\)/i_zero(&$1)/g' $F perl -p -i -e 's/memset\(([^,]*),\s*0,\s*sizeof\(\*\g1\)\)/i_zero($1)/g' $F done
mail-crypt: Skip tests if dcrypt cannot be initialized Avoids breaking tests on system without working ECC keys.
mail-crypt: Add error handling for mailbox_open in tests
mail-crypt: Add mail-crypt plugin