Werner Koch
108702ccae
gpg: Prepare for longer card fingerprints.
...
* g10/call-agent.h (agent_card_info_s): Rename the "*valid" fields to
"*len".
* g10/call-agent.c (unhexify_fpr): Change to take a FPRLEN and to
return the actual length.
(agent_release_card_info): Adjust for these changes.
* g10/card-util.c (print_sha1_fpr): Rename to print_shax_fpr and add
arg FPRLEN. Change all callers to pass the length.
(print_sha1_fpr_colon): Rename to print_shax_fpr_colon and add arg
FPRLEN. Change all callers to pass the length.
(fpr_is_zero): Add arg FPRLEN.
(fpr_is_ff): Ditto.
(show_card_key_info): Use the new functions.
* g10/skclist.c (enum_secret_keys): Use MAX_FINGERPRINT_LEN.
--
This is not needed right now but we should get rid of all hard coded
fingerprint lengths. Thus this change.
Signed-off-by: Werner Koch <wk@gnupg.org>
2018-08-27 16:57:04 +02:00
..
2017-05-11 18:12:37 +02:00
2017-05-10 11:13:12 +09:00
2018-01-23 12:07:57 +01:00
2018-08-27 16:57:04 +02:00
2018-08-27 16:57:04 +02:00
2018-07-27 17:48:18 +02:00
2017-07-24 20:09:52 +02:00
2018-08-27 16:57:04 +02:00
2016-11-02 12:53:58 +01:00
2018-02-28 09:39:57 +01:00
2018-05-29 12:42:52 +02:00
2017-04-11 13:52:19 +09:00
2018-05-02 20:15:10 +02:00
2018-04-06 17:32:25 +02:00
2017-08-01 19:08:16 +02:00
2018-02-28 09:39:57 +01:00
2017-03-07 20:25:54 +09:00
2018-01-21 16:30:53 +01:00
2017-03-31 20:07:20 +02:00
2017-11-22 20:54:47 +01:00
2017-11-27 15:00:25 +01:00
2018-05-29 13:01:12 +02:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2018-07-09 09:49:21 +02:00
2018-05-13 13:29:40 +02:00
2017-07-21 17:49:10 +02:00
2018-08-27 16:24:27 +09:00
2015-02-04 09:15:34 +01:00
2018-07-24 09:58:02 +02:00
2018-03-27 08:48:00 +02:00
2015-02-04 09:15:34 +01:00
2018-07-03 09:07:03 +09:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2018-08-27 13:12:31 +09:00
2017-03-07 20:25:54 +09:00
2018-07-09 09:49:21 +02:00
2018-01-10 11:51:03 +01:00
2018-06-07 18:41:17 +02:00
2017-07-27 11:38:57 +02:00
2018-07-09 12:01:02 +02:00
2018-07-09 09:49:21 +02:00
2018-02-22 14:23:01 +01:00
2018-07-06 11:40:16 +02:00
2018-07-06 11:40:16 +02:00
2017-07-27 11:38:57 +02:00
2018-07-05 09:42:06 +02:00
2017-12-18 16:42:59 +01:00
2018-06-21 20:28:51 +02:00
2018-02-22 14:23:01 +01:00
2017-03-31 20:07:20 +02:00
2017-07-13 18:29:01 +02:00
2017-07-24 21:10:58 +02:00
2018-06-21 20:28:51 +02:00
2018-08-27 13:12:31 +09:00
2018-07-06 11:40:16 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2018-05-29 13:01:12 +02:00
2018-01-28 18:59:18 +01:00
2018-05-30 22:05:57 +02:00
2018-08-27 13:12:31 +09:00
2018-08-10 15:29:06 +09:00
2018-04-12 17:53:17 +02:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2018-07-05 20:55:32 +02:00
2017-03-07 20:25:54 +09:00
2016-11-05 12:02:19 +01:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2018-08-27 16:24:00 +09:00
2017-01-23 19:16:55 +01:00
2018-05-29 13:01:12 +02:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01:00
2017-03-07 20:32:09 +09:00
2017-03-07 20:25:54 +09:00
2017-04-28 10:06:33 +09:00
2018-07-05 20:55:32 +02:00
2018-07-03 09:07:03 +09:00
2018-08-27 16:57:04 +02:00
2017-03-30 16:01:52 +02:00
2015-11-17 14:53:03 +01:00
2015-09-02 15:08:57 +02:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-03-08 14:08:49 +01:00
2017-05-10 11:13:03 +09:00
2018-03-27 08:48:00 +02:00
2018-03-26 18:20:16 +02:00
2018-03-26 18:06:43 +02:00
2018-08-27 13:12:31 +09:00
2017-04-24 14:14:05 +02:00
2017-03-07 20:25:54 +09:00
2017-12-18 16:42:59 +01:00
2016-12-06 12:16:56 +01:00
2018-07-06 11:40:16 +02:00
2018-07-06 11:40:16 +02:00
2018-07-06 11:40:16 +02:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00