122{
124 if (!fp_null)
125 {
128 }
129 struct Buffer *tempfile = NULL;
133 if (!fp_tmp)
134 {
139 }
140
142
145 if (!pkey)
146 {
150 }
151
152 char tmpbuf[256] = { 0 };
153 snprintf(tmpbuf, sizeof(tmpbuf), "0x%s",
155
157 fileno(fp_null), tmpbuf);
158 if (pid == -1)
159 {
164 }
165
170 char title[1024] = { 0 };
171 snprintf(title,
sizeof(title),
_(
"Key ID: 0x%s"),
173
176
178
182
187}
static const char * buf_string(const struct Buffer *buf)
Convert a buffer to a const char * "string".
#define mutt_file_fclose(FP)
#define mutt_file_fopen(PATH, MODE)
#define mutt_message(...)
int filter_wait(pid_t pid)
Wait for the exit of a process and return its status.
char * pgp_keyid(struct PgpKeyInfo *k)
Get the ID of the main (parent) key.
char * pgp_fpr_or_lkeyid(struct PgpKeyInfo *k)
Get the fingerprint or long keyid.
pid_t pgp_invoke_verify_key(FILE **fp_pgp_in, FILE **fp_pgp_out, FILE **fp_pgp_err, int fd_pgp_in, int fd_pgp_out, int fd_pgp_err, const char *uids)
Use PGP to verify a key.
struct PgpKeyInfo * pgp_principal_key(struct PgpKeyInfo *key)
Get the main (parent) PGP key.
struct Buffer * buf_pool_get(void)
Get a Buffer from the pool.
void buf_pool_release(struct Buffer **ptr)
Return a Buffer to the pool.
String manipulation buffer.