Werner Koch
dcad99c986
gpg: Factor some code code out of tofu.c
...
* g10/tofu.c (string_to_long): New.
(string_to_ulong): New.
(get_single_unsigned_long_cb): Replace strtol/strtoul by new function.
(get_single_long_cb): Ditto.
(signature_stats_collect_cb): Ditto.
(get_policy): Ditto.
(show_statistics): Ditto. Uese es_free instead of free.
--
There is one minor semantic change: We now accept "nnn.0" always. The
old code did not checked for ".0: in show_statistics.
Signed-off-by: Werner Koch <wk@gnupg.org>
2016-04-29 15:41:10 +02:00
..
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2015-12-24 14:15:58 +09:00
2016-04-29 11:05:24 +02:00
2016-04-27 08:34:29 +02:00
2016-04-29 11:05:24 +02:00
2011-12-01 11:09:02 +01:00
2016-04-29 11:05:24 +02:00
2016-01-12 10:32:20 +09:00
2016-04-29 11:05:24 +02:00
2015-08-25 15:26:33 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-02-14 14:46:30 +01:00
2016-04-29 11:05:24 +02:00
2015-12-23 20:06:49 +01:00
2014-10-31 14:21:34 +01:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2015-01-22 12:06:11 +01:00
2007-07-04 19:49:40 +00:00
2016-04-29 11:05:24 +02:00
2014-11-13 12:01:42 +01:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2015-02-04 09:15:34 +01:00
2016-04-29 11:05:24 +02:00
2015-11-14 09:13:02 +01:00
2015-02-04 09:15:34 +01:00
2016-04-05 11:18:45 +02:00
2016-04-27 08:34:29 +02:00
2012-06-05 19:29:22 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-02-19 16:13:00 +01:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2015-11-17 14:53:05 +01:00
2016-04-27 08:34:29 +02:00
2016-04-29 11:05:24 +02:00
2016-04-06 11:34:11 +02:00
2016-04-29 11:05:24 +02:00
2016-04-21 09:18:29 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2000-07-31 08:04:16 +00:00
2016-04-27 08:34:29 +02:00
2016-01-22 10:54:10 +01:00
2016-04-07 13:51:26 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2014-04-17 21:44:09 +02:00
2010-04-23 11:36:59 +00:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2014-01-30 18:48:37 +01:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2000-07-31 08:04:16 +00:00
2016-04-29 11:05:24 +02:00
2011-02-04 12:57:53 +01:00
2008-12-12 08:54:50 +00:00
2016-04-29 11:05:24 +02:00
2016-03-02 14:14:33 +01:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2015-10-29 10:10:39 +01:00
2015-12-03 12:18:32 +01:00
2015-11-17 14:53:03 +01:00
2015-09-02 15:08:57 +02:00
2015-12-03 12:18:32 +01:00
2011-02-04 12:57:53 +01:00
2016-03-08 14:08:49 +01:00
2016-04-05 11:11:11 +02:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2015-06-04 18:08:26 +02:00
2016-04-27 08:34:29 +02:00
2016-01-06 08:49:45 +01:00
2016-04-29 11:05:24 +02:00
2016-04-29 15:41:10 +02:00
2015-11-13 16:42:59 +01:00
2016-04-29 11:05:24 +02:00
2016-04-29 11:05:24 +02:00
2015-10-21 13:45:47 +02:00
2016-04-29 11:05:24 +02:00
2014-01-29 17:45:05 +01:00