122{
124 if (!fp_null)
125 {
128 }
129 struct Buffer *tempfile = NULL;
133 if (!fp_tmp)
134 {
139 }
140
142
145 if (!pkey)
147
148 char tmpbuf[256] = { 0 };
149 snprintf(tmpbuf, sizeof(tmpbuf), "0x%s",
151
153 fileno(fp_null), tmpbuf);
154 if (pid == -1)
155 {
160 }
161
166 char title[1024] = { 0 };
167 snprintf(title,
sizeof(title),
_(
"Key ID: 0x%s"),
169
172
174
178
183}
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.