1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-18 14:17:03 +01:00
Werner Koch 5eb2682686
common: Guarantee that gnupg_get_time does not return an error.
* common/gettime.c (gnupg_get_time): Abor if time() failed.
(gnupg_get_isotime): Remove now useless check.
(make_timestamp): Remove check becuase we already checked this modulo
the faked time thing.
--

In reality a call foo = time (NULL) can never fail because the only
defined error is EFAULT, but we don't provide a buffer.

Signed-off-by: Werner Koch <wk@gnupg.org>
2016-08-24 18:37:55 +02:00
..
2015-11-17 12:50:22 +01:00
2015-11-17 12:50:22 +01:00
2015-12-21 11:37:21 +01:00
2016-06-28 18:21:50 +02:00
2015-10-28 10:20:17 +01:00
2015-11-17 12:50:22 +01:00
2016-07-26 14:49:02 +02:00
2016-08-03 15:27:13 +02:00
2016-06-28 15:53:59 +02:00
2013-11-18 14:09:47 +01:00
2015-11-17 12:50:22 +01:00
2016-08-03 16:55:33 +02:00
2015-11-17 12:50:22 +01:00
2016-08-09 10:47:46 +02:00
2016-08-03 16:55:33 +02:00
2016-08-03 16:55:33 +02:00
2015-11-17 12:50:22 +01:00
2016-04-29 11:04:04 +02:00
2016-08-11 13:03:16 +02:00
2015-03-17 09:18:23 +01:00
2016-03-02 14:27:30 +01:00
2016-07-02 16:18:50 +02:00
2015-11-17 12:50:22 +01:00
2016-08-13 13:49:41 +02:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2015-11-17 12:50:22 +01:00
2016-06-28 18:21:50 +02:00
2016-06-28 18:21:50 +02:00
2014-11-11 15:14:31 +01:00
2015-11-17 12:50:22 +01:00
2016-08-03 15:27:13 +02:00
2015-02-03 09:12:45 +01:00
2015-10-30 12:33:40 +01:00

Common functionality used by all modules of GnuPG.