Home GnuPG
Diffusion GnuPG 5b614973fe2d

gpg: Cleanup of dek_to_passphrase function (part 1).
5b614973fe2dUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Cleanup of dek_to_passphrase function (part 1).

* g10/passphrase.c (passphrase_to_dek_ext): Remove args CUSTDESC and
CUSTPROMPT.  Merge into the passphrase_to_dek wrapper.
(passphrase_get): Remove args CUSTOM_DESCRIPTION and CUSTOM_PROMPT.

The function is nowadays only used for symmetric encryption. Thus we
do not need all the former advanced stuff.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 8 2016, 5:42 PM
Parents
rG591a8373a5d9: agent: More clean up of SSH support.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG5b614973fe2d: gpg: Cleanup of dek_to_passphrase function (part 1). (authored by Werner Koch <wk@gnupg.org>).Aug 8 2016, 6:47 PM