diff options
author | Werner Koch <[email protected]> | 2016-08-24 16:37:55 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-08-24 16:37:55 +0000 |
commit | 5eb2682686b32bd82096924eeabd0c5bd347adfd (patch) | |
tree | 3183fe3f177ec086456916c8d71d4815c45375ed /common/openpgp-oid.c | |
parent | wks: Add command --supported to gpg-wks-client. (diff) | |
download | gnupg-5eb2682686b32bd82096924eeabd0c5bd347adfd.tar.gz gnupg-5eb2682686b32bd82096924eeabd0c5bd347adfd.zip |
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 <[email protected]>
Diffstat (limited to 'common/openpgp-oid.c')
0 files changed, 0 insertions, 0 deletions