119{
121 if (!fp_null)
122 {
125 }
126 struct Buffer *tempfile = NULL;
130 if (!fp_tmp)
131 {
136 }
137
139
142 char tmpbuf[256] = { 0 };
143 snprintf(tmpbuf, sizeof(tmpbuf), "0x%s",
145
147 fileno(fp_null), tmpbuf);
148 if (pid == -1)
149 {
154 }
155
160 char title[1024] = { 0 };
161 snprintf(title,
sizeof(title),
_(
"Key ID: 0x%s"),
163
166
168
172
177}
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.