mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
agent: Add --another option for hybrid crypto.
* agent/agent.h (struct server_control_s): Add have_keygrip1. * agent/command.c (reset_notify): Clear have_keygrip1 field. (cmd_havekey): Add --another option handling. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
1fa24e2841
commit
c69363e8c7
2 changed files with 15 additions and 6 deletions
|
@ -288,8 +288,11 @@ struct server_control_s
|
|||
unsigned int raw_value: 1;
|
||||
unsigned int is_pss: 1; /* DATA holds PSS formated data. */
|
||||
} digest;
|
||||
unsigned int have_keygrip: 1;
|
||||
unsigned int have_keygrip1: 1;
|
||||
unsigned char keygrip[20];
|
||||
int have_keygrip;
|
||||
unsigned char keygrip1[20]; /* Another keygrip for hybrid crypto. */
|
||||
|
||||
|
||||
/* A flag to enable a hack to send the PKAUTH command instead of the
|
||||
PKSIGN command to the scdaemon. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue