"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/doveadm/doveadm-dump-dcrypt-file.c" between
dovecot-2.3.16.tar.gz and dovecot-2.3.17.tar.gz

About: Dovecot is an IMAP and POP3 server, written with security primarily in mind.

doveadm-dump-dcrypt-file.c  (dovecot-2.3.16):doveadm-dump-dcrypt-file.c  (dovecot-2.3.17)
skipping to change at line 80 skipping to change at line 80
} }
static bool test_dump_dcrypt_file(const char *path) static bool test_dump_dcrypt_file(const char *path)
{ {
if (!dcrypt_initialize("openssl", NULL, NULL)) if (!dcrypt_initialize("openssl", NULL, NULL))
return FALSE; return FALSE;
bool ret = dcrypt_file_dump_metadata(path, FALSE); bool ret = dcrypt_file_dump_metadata(path, FALSE);
return ret; return ret;
} }
static void cmd_dump_dcrypt_file(int argc ATTR_UNUSED, char *argv[]) static void
cmd_dump_dcrypt_file(const char *path, const char *const *args ATTR_UNUSED)
{ {
const char *error = NULL; const char *error = NULL;
if (!dcrypt_initialize("openssl", NULL, &error)) if (!dcrypt_initialize("openssl", NULL, &error))
i_fatal("dcrypt_initialize failed: %s", error); i_fatal("dcrypt_initialize failed: %s", error);
(void)dcrypt_file_dump_metadata(argv[1], TRUE); (void)dcrypt_file_dump_metadata(path, TRUE);
} }
struct doveadm_cmd_dump doveadm_cmd_dump_dcrypt_file = { struct doveadm_cmd_dump doveadm_cmd_dump_dcrypt_file = {
"dcrypt-file", "dcrypt-file",
test_dump_dcrypt_file, test_dump_dcrypt_file,
cmd_dump_dcrypt_file cmd_dump_dcrypt_file
}; };
 End of changes. 2 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)