mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-28 22:49:59 +01:00
gpg: Improve some output of gpgcompose.
This commit is contained in:
parent
4ddf4e114c
commit
cb0484e076
@ -512,7 +512,8 @@ static struct option major_options[] = {
|
|||||||
{ "--encrypted-mdc", encrypted,
|
{ "--encrypted-mdc", encrypted,
|
||||||
"Create a symmetrically encrypted and integrity protected data packet." },
|
"Create a symmetrically encrypted and integrity protected data packet." },
|
||||||
{ "--encrypted-pop", encrypted_pop,
|
{ "--encrypted-pop", encrypted_pop,
|
||||||
"Pop an encryption container." },
|
"Pop the most recent encryption container started by either"
|
||||||
|
" --encrypted or --encrypted-mdc." },
|
||||||
{ "--compressed", NULL, "Create a compressed data packet." },
|
{ "--compressed", NULL, "Create a compressed data packet." },
|
||||||
{ "--literal", literal, "Create a literal (plaintext) data packet." },
|
{ "--literal", literal, "Create a literal (plaintext) data packet." },
|
||||||
{ "--signature", signature, "Create a signature packet." },
|
{ "--signature", signature, "Create a signature packet." },
|
||||||
@ -2534,7 +2535,9 @@ encrypted (const char *option, int argc, char *argv[], void *cookie)
|
|||||||
argc, argv);
|
argc, argv);
|
||||||
|
|
||||||
if (! session_key.algo)
|
if (! session_key.algo)
|
||||||
log_fatal ("%s: no session key configured.\n", option);
|
log_fatal ("%s: no session key configured\n"
|
||||||
|
" (use e.g. --sk-esk PASSWORD or --pk-esk KEYID).\n",
|
||||||
|
option);
|
||||||
|
|
||||||
memset (&e, 0, sizeof (e));
|
memset (&e, 0, sizeof (e));
|
||||||
/* We only need to set E->LEN, E->EXTRALEN (if E->LEN is not
|
/* We only need to set E->LEN, E->EXTRALEN (if E->LEN is not
|
||||||
|
Loading…
x
Reference in New Issue
Block a user