NeoMutt  2024-11-14-138-ge5ca67
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 1003 of file pgp.c.

1004{
1005 if (!fp)
1006 {
1007 mutt_error(_("Internal error. Please submit a bug report."));
1008 return;
1009 }
1010
1011 mutt_endwin();
1012
1013 OptDontHandlePgpKeys = true;
1015 OptDontHandlePgpKeys = false;
1016}
void mutt_endwin(void)
Shutdown curses.
Definition: curs_lib.c:151
bool OptDontHandlePgpKeys
(pseudo) used to extract PGP keys
Definition: globals.c:61
#define mutt_error(...)
Definition: logging2.h:92
#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:971
+ Here is the call graph for this function: