Home GnuPG
Diffusion GnuPG d24375271b97

agent: Use OCB for key protection with --enable-extended-key-format.

Description

agent: Use OCB for key protection with --enable-extended-key-format.

* agent/protect.c (PROT_DEFAULT_TO_OCB): Remove macro.
(agent_protect): Make the default protection mode depend on the extend
key format option.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Apr 2 2017, 8:02 PM
Parents
rG0039d7107bcd: kbx: Unify blob reading functions.
Branches
Unknown
Tags
Unknown