fs-mail-crypt.c revision 4c78d9e646c4a1158d7167806937c02d86cdfc25
/* Copyright (c) 2015-2016 Dovecot authors, see the included COPYING file */
#define FS_CLASS_CRYPT fs_class_mail_crypt
#include "fs-crypt-common.c"
static
{
const char *error;
if (fs->keys_loaded)
return 0;
/* overrides using settings */
return -1;
return 0;
}
*error_r = "fs-mail-crypt can be used only via lib-storage";
return -1;
}
&error) < 0) {
return -1;
}
return 0;
}
const struct fs fs_class_mail_crypt = {
.name = "mail-crypt",
.v = {
NULL,
}
};