Lines Matching refs:fs
3 #include "fs-crypt-common.c"
6 int fs_crypt_load_keys(struct crypt_fs *fs, const char **error_r)
8 struct mailbox_list *list = mailbox_list_fs_get_list(&fs->fs);
11 if (fs->keys_loaded)
13 if (fs->public_key_path != NULL || fs->private_key_path != NULL) {
15 if (fs_crypt_load_keys_from_path(fs, error_r) < 0)
17 fs->keys_loaded = TRUE;
21 *error_r = "fs-mail-crypt can be used only via lib-storage";
26 fs->set_prefix, &fs->keys, FALSE,
28 *error_r = t_strdup_printf("%s: %s", fs->set_prefix, error);
31 fs->keys_loaded = TRUE;
35 const struct fs fs_class_mail_crypt = {