Home GnuPG
Diffusion GnuPG 491d6fdabb3d

gpg: Cleanup of dek_to_passphrase function (part 2).
491d6fdabb3dUnpublished

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 2).

* g10/passphrase.c (passphrase_get): Remove arg KEYID.  Change arg
MODE to NOCACHE.
(passphrase_to_dek): Remove args KEYID and PUBKEY_ALGO.  Split arg
MODE into CREATE and NOCACHE.  Change all callers and adjust stubs.
(passphrase_clear_cache): Remove args KEYID and ALGO.  They are not
used.  Change caller.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 8 2016, 6:45 PM
Parents
rG5b614973fe2d: gpg: Cleanup of dek_to_passphrase function (part 1).
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG491d6fdabb3d: gpg: Cleanup of dek_to_passphrase function (part 2). (authored by Werner Koch <wk@gnupg.org>).Aug 8 2016, 8:32 PM