From 44f4303bcfe1ce47717c57838d13ebd872fde0fd Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 23 Jul 2003 07:11:06 +0000 Subject: * keygen.c (generate_keypair): Create an AUTHKEYTYPE entry for cards. (do_generate_keypair): Abd generate the authkey. (check_smartcard): Changed menu accordingly. --- g10/call-agent.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'g10/call-agent.h') diff --git a/g10/call-agent.h b/g10/call-agent.h index a6edecf47..434295e79 100644 --- a/g10/call-agent.h +++ b/g10/call-agent.h @@ -42,6 +42,10 @@ struct agent_card_genkey_s { gcry_mpi_t e; }; + +/* Release the card info structure. */ +void agent_release_card_info (struct agent_card_info_s *info); + /* Return card info. */ int agent_learn (struct agent_card_info_s *info); @@ -66,6 +70,8 @@ int agent_scd_pkdecrypt (const char *serialno, const unsigned char *indata, size_t indatalen, char **r_buf, size_t *r_buflen); +/* Change the PIN of an OpenPGP card or reset the retry counter. */ +int agent_scd_change_pin (int chvno); #endif /*GNUPG_G10_CALL_AGENT_H*/ -- cgit v1.2.3