NeoMutt  2025-12-11-694-ga89709
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
pgp_extract_key_from_attachment()

Extract PGP key from an attachment. More...

+ Collaboration diagram for pgp_extract_key_from_attachment():

Functions

void pgp_class_extract_key_from_attachment (FILE *fp, struct Body *b)
 Extract PGP key from an attachment - Implements CryptModuleSpecs::pgp_extract_key_from_attachment() -.
 

Detailed Description

Extract PGP key from an attachment.

Parameters
fpFile containing email
bBody of the email

Function Documentation

◆ pgp_class_extract_key_from_attachment()

void pgp_class_extract_key_from_attachment ( FILE * fp,
struct Body * b )

Extract PGP key from an attachment - Implements CryptModuleSpecs::pgp_extract_key_from_attachment() -.

Definition at line 1002 of file pgp.c.

1003{
1004 if (!fp)
1005 {
1006 mutt_error(_("Internal error. Please submit a bug report."));
1007 return;
1008 }
1009
1010 mutt_endwin();
1011
1012 OptDontHandlePgpKeys = true;
1014 OptDontHandlePgpKeys = false;
1015}
void mutt_endwin(void)
Shutdown curses.
Definition curs_lib.c:151
bool OptDontHandlePgpKeys
(pseudo) used to extract PGP keys
Definition globals.c:46
#define mutt_error(...)
Definition logging2.h:94
#define _(a)
Definition message.h:28
static void pgp_extract_keys_from_attachment(FILE *fp, struct Body *b)
Extract pgp keys from messages/attachments.
Definition pgp.c:970
+ Here is the call graph for this function: