diff options
author | Werner Koch <wk@gnupg.org> | 2007-08-10 18:52:05 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2007-08-10 18:52:05 +0200 |
commit | 74d344a521c8a7a294b8da2cf2647e112fd5b310 (patch) | |
tree | c2cc77b642ad52a26ea4d99a05f82f725f536d11 /common/gettime.c | |
parent | Factored common gpgconf constants out (diff) | |
download | gnupg2-74d344a521c8a7a294b8da2cf2647e112fd5b310.tar.xz gnupg2-74d344a521c8a7a294b8da2cf2647e112fd5b310.zip |
Implemented the chain model for X.509 validation.
Diffstat (limited to 'common/gettime.c')
-rw-r--r-- | common/gettime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/gettime.c b/common/gettime.c index 56ff40eec..1814826c0 100644 --- a/common/gettime.c +++ b/common/gettime.c @@ -72,10 +72,10 @@ gnupg_get_isotime (gnupg_isotime_t timebuf) } -/* set the time to NEWTIME so that gnupg_get_time returns a time +/* Set the time to NEWTIME so that gnupg_get_time returns a time starting with this one. With FREEZE set to 1 the returned time will never change. Just for completeness, a value of (time_t)-1 - for NEWTIME gets you back to rality. Note that this is obviously + for NEWTIME gets you back to reality. Note that this is obviously not thread-safe but this is not required. */ void gnupg_set_time (time_t newtime, int freeze) @@ -165,7 +165,7 @@ scan_isodatestr( const char *string ) return stamp; } -/* Scan am ISO timestamp and return a epoch based timestamp. The only +/* Scan am ISO timestamp and return an Epoch based timestamp. The only supported format is "yyyymmddThhmmss" delimited by white space, nul, a colon or a comma. Returns (time_t)(-1) for an invalid string. */ time_t |