Searched defs:set_key (Results 1 - 5 of 5) sorted by relevance

/dovecot/src/plugins/mail-crypt/
H A Dmail-crypt-userenv.c15 string_t *set_key = t_str_new(64); local
16 str_append(set_key, set_prefix);
17 str_append(set_key, "_private_key");
18 size_t prefix_len = str_len(set_key);
22 while ((key_data = mail_user_plugin_getenv(user, str_c(set_key))) != NULL) {
23 const char *set_pw = t_strconcat(str_c(set_key), "_password", NULL);
25 if (mail_crypt_load_global_private_key(str_c(set_key), key_data,
40 str_truncate(set_key, prefix_len);
41 str_printfa(set_key, "%u", ++i);
51 const char *set_key local
[all...]
H A Dtest-mail-global-key.c62 const char *set_key = t_strconcat(set_prefix, "_public_key", NULL); local
63 const char *key_data = mail_crypt_plugin_getenv(&fs_set, set_key);
68 test_assert(mail_crypt_load_global_public_key(set_key, key_data,
H A Dmail-crypt-global-key.c13 int mail_crypt_load_global_public_key(const char *set_key, const char *key_data, argument
26 set_key, error);
31 *error_r = t_strdup_printf("%s: key is not public", set_key);
36 set_key, error);
76 int mail_crypt_load_global_private_key(const char *set_key, const char *key_data, argument
92 " key: %s", set_key, error);
97 *error_r = t_strdup_printf("%s: key is not private", set_key);
108 set_key, set_pw);
116 set_key, error);
H A Dmail-crypt-pluginenv.c61 string_t *set_key = t_str_new(64); local
62 str_append(set_key, set_prefix);
63 str_append(set_key, "_private_key");
64 size_t prefix_len = str_len(set_key);
68 while ((key_data = mail_crypt_plugin_getenv(set, str_c(set_key))) != NULL) {
69 const char *set_pw = t_strconcat(str_c(set_key), "_password", NULL);
71 if (mail_crypt_load_global_private_key(str_c(set_key), key_data,
75 str_truncate(set_key, prefix_len);
76 str_printfa(set_key, "%u", ++i);
87 const char *set_key local
[all...]
/dovecot/src/plugins/fts/
H A Dfts-user.c90 const char *str, *error, *set_key; local
120 set_key = t_strdup_printf("fts_filter_%s_%s",
122 str = mail_user_plugin_getenv(user, set_key);
124 set_key = t_strdup_printf("fts_filter_%s", filter_set_name);
125 str = mail_user_plugin_getenv(user, set_key);
131 *error_r = t_strdup_printf("%s: %s", set_key, error);
157 const char *str, *error, *set_key; local
184 set_key = t_strdup_printf("fts_tokenizer_%s_%s", tokenizer_set_name, lang->name);
185 str = mail_user_plugin_getenv(user, set_key);
187 set_key
[all...]

Completed in 18 milliseconds