aboutsummaryrefslogtreecommitdiffstats
path: root/common/gettime.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-03-23Import _gpgme_parse_timestamp from gpgme as parse_timestamp.Neal H. Walfield1-0/+102
* common/gettime.h (parse_timestamp): New declaration. * common/gettime.c (_win32_timegm): New function imported from gpgme/src/conversion.c:_gpgme_timegm. (parse_timestamp): New function imported from gpgme/src/conversion.c:_gpgme_parse_timestamp. -- Signed-off-by: Neal H. Walfield <[email protected]>
2014-03-18common: New function elapsed_time_string.Werner Koch1-0/+39
* common/gettime.c (elapsed_time_string): New.
2012-04-20Change license for some files in common to LGPLv3+/GPLv2+.Werner Koch1-5/+15
Having the LGPL on the common GnuPG code helps to share code between GnuPG and related projects (like GPGME and Libassuan). This is good for interoperability and to reduces bugs. * common/asshelp.c, common/asshelp.h, common/asshelp2.c, common/b64dec.c * common/b64enc.c, common/convert.c, common/dns-cert.c * common/dns-cert.h common/exechelp-posix.c, common/exechelp-w32.c * common/exechelp-w32ce.c, common/exechelp.h, common/get-passphrase.c * common/get-passphrase.h, common/gettime.c, common/gpgrlhelp.c * common/helpfile.c, common/homedir.c, common/http.c, common/http.h * common/i18n.c, common/init.c, common/init.h, common/iobuf.c * common/iobuf.h, common/localename.c, common/membuf.c, common/membuf.h * common/miscellaneous.c, common/openpgp-oid.c, common/openpgpdefs.h * common/percent.c, common/pka.c, common/pka.h, common/session-env.c * common/session-env.h, common/sexp-parse.h, common/sexputil.c * common/signal.c, common/srv.c, common/srv.h, common/ssh-utils.c * common/ssh-utils.h, common/sysutils.c, common/sysutils.h * common/tlv.c, common/tlv.h, common/ttyio.c, common/ttyio.h * common/userids.c, common/userids.h, common/xasprintf.c: Change license to LGPLv3+/GPLv2+/
2011-03-01Add new functions to convert iso time strings.Werner Koch1-13/+146
2011-02-04Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch1-24/+24
We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
2010-10-27Better support unsigned time_tWerner Koch1-17/+27
2010-10-04[w32ce] Do not print the faulty timezone infoWerner Koch1-26/+31
Switch FAQ sources to org-mode
2010-06-08W32CE fix.Werner Koch1-0/+1
Typo fixes
2010-04-20Add a separate header for time related fucntions.Werner Koch1-0/+18
2010-03-02First steps towards the W32CE portWerner Koch1-1/+1
2009-03-16Remove duplicated code.Werner Koch1-0/+11
2008-06-05As a failsafe measure use memcpy instead of strcpy in gnupg_copy_time.Werner Koch1-1/+1
Typo fix.
2007-08-28Add more passphrase policy rules.Werner Koch1-0/+205
(--max-passphrase-days).
2007-08-10Implemented the chain model for X.509 validation.Werner Koch1-3/+3
2007-07-05Fixed card key generation of gpg2.Werner Koch1-4/+77
Reveal less information about timings while generating a key.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2006-05-23g10/ does build again.Werner Koch1-1/+27
2005-07-27Removed directories which are only used by the 1.9 branchWerner Koch1-250/+0
2003-12-17* gettime.c (asctimestamp): Add a note on a non-avoidable gcc warning.Werner Koch1-2/+4
* util.h [!HAVE_VASPRINTF]: Add printf format attribute to the replacement function. * miscellaneous.c (xasprintf): New.
2003-10-31* util.h (gnupg_isotime_t): New.Werner Koch1-0/+26
(gnupg_copy_time): New. * gettime.c (gnupg_get_isotime): New.
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+250
'GNUPG-1-9-BRANCH'.
2003-06-18Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch1-1/+164
to libgcrypt functions, using shared error codes from libgpg-error, replacing the old functions we used to have in ../util by those in ../jnlib and ../common, renaming the malloc functions and a couple of types. Note, that not all changes are listed below becuause they are too similar and done at far too many places. As of today the code builds using the current libgcrypt from CVS but it is very unlikely that it actually works.
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-87/+0
'GNUPG-1-9-BRANCH'.
2002-05-14sm/Werner Koch1-0/+87
* gpgsm.c: New option --faked-system-time * sign.c (gpgsm_sign): And use it here. * certpath.c (gpgsm_validate_path): Ditto. common/ * gettime.c: New. agent/ * cache.c (housekeeping, agent_put_cache): Use our time() wrapper. / * doc/: New * configure.ac, Makefile.am: Added doc/