summaryrefslogtreecommitdiffstats
path: root/crypto/o_time.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Following the license change, modify the boilerplates in crypto/Richard Levitte2018-12-061-1/+1
| | | | | | | [skip ci] Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/7827)
* Update copyright yearMatt Caswell2018-04-031-1/+1
| | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5851)
* o_time.c: use gmtime_s with MSVCMiroslav Suk2018-03-271-0/+4
| | | | | | | | ts/ts_rsp_sign.c: change to OPENSSL_gmtime. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/5720)
* Fix typo in files in crypto folderXiaoyin Liu2017-08-051-2/+2
| | | | | | Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Andy Polyakov <appro@openssl.org> GH: #4093
* Reset executable bits on files where not needed.Bernd Edlinger2017-03-031-0/+0
| | | | | Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2835)
* VMS: compensate for gmtime_r() parameter pointer sizeRichard Levitte2017-03-011-1/+23
| | | | | | | With VMS C, the second parameter takes a 32-bit pointer. When building with 64-bit pointer size default, we must compensate. Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2811)
* Code cleanup: remove the VMS specific reimplementation of gmtimeRichard Levitte2017-02-281-188/+2
| | | | | | | | This reimplementation was necessary before VMS C V7.1. Since that's the minimum version we support in this OpenSSL version, the reimplementation is no longer needed. Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2762)
* Remove obsolete commentGuido Vranken2017-02-141-4/+0
| | | | | Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1613)
* Prevents that OPENSSL_gmtime incorrectly signals success if gmtime_r fails, ↵Guido Vranken2017-02-141-1/+2
| | | | | | | and that struct* tm result's possibly uninitialized content is used Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1613)
* VSI submisson: make better use of item lists in o_time.cRichard Levitte2016-08-041-18/+55
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Copyright consolidation 09/10Rich Salz2016-05-171-58/+5
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Remove Netware and OS/2Rich Salz2016-03-171-1/+1
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* GH601: Various spelling fixes.FdaSilvaYY2016-02-051-2/+2
| | | | | Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
* Remove /* foo.c */ commentsRich Salz2016-01-261-1/+0
| | | | | | | | | | | | This was done by the following find . -name '*.[ch]' | /tmp/pl where /tmp/pl is the following three-line script: print unless $. == 1 && m@/\* .*\.[ch] \*/@; close ARGV if eof; # Close file to reset $. And then some hand-editing of other files. Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
* Remove the "eay" c-file-style indicatorsRichard Levitte2015-12-181-1/+1
| | | | | | | Since we don't use the eay style any more, there's no point tryint to tell emacs to use it. Reviewed-by: Matt Caswell <matt@openssl.org>
* Check OPENSSL_gmtime_diffRich Salz2015-09-031-60/+0
| | | | | | | It's test code that only runs on 64bit time_t machines. Move it to a standalone test/gmdifftest Reviewed-by: Richard Levitte <levitte@openssl.org>
* Re-align some comments after running the reformat script.Matt Caswell2015-01-221-24/+24
| | | | | | | This should be a one off operation (subsequent invokation of the script should not move them) Reviewed-by: Tim Hudson <tjh@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-310/+311
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* mark all block comments that need format preserving so thatTim Hudson2014-12-301-1/+2
| | | | | | | indent will not alter them when reformatting comments Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
* RT3548: Remvoe unsupported platformsRich Salz2014-12-221-1/+1
| | | | | | This commit removes SunOS (a sentimental favorite of mine). Reviewed-by: Richard Levitte <levitte@openssl.org>
* Include <openssl/foo.h> instead of "foo.h"Geoff Thorpe2014-12-081-1/+1
| | | | | | | | | | | | Exported headers shouldn't be included as "foo.h" by code from the same module, it should only do so for module-internal headers. This is because the symlinking of exported headers (from include/openssl/foo.h to crypto/foo/foo.h) is being removed, and the exported headers are being moved to the include/openssl/ directory instead. Change-Id: I4c1d80849544713308ddc6999a549848afc25f94 Signed-off-by: Geoff Thorpe <geoff@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
* Move gmtime functions to crypto.h.Ben Laurie2014-02-191-1/+1
|
* Reorganise parameters for OPENSSL_gmtime_diff.Dr. Stephen Henson2012-11-211-3/+4
| | | | Make ASN1_UTCTIME_cmp_time_t more robust by using the new time functions.
* don't use psec or pdays if NULLDr. Stephen Henson2012-11-201-2/+4
|
* After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMSRichard Levitte2011-03-191-8/+14
| | | | submitted by Steven M. Schweda <sms@antinode.info>
* new function to diff tm structuresDr. Stephen Henson2010-04-151-35/+98
|
* oops revert patch not part of Configure diffDr. Stephen Henson2010-04-151-98/+35
|
* oops, commit Configure part of PR#2234Dr. Stephen Henson2010-04-151-35/+98
|
* Experimental new date handling routines. These fix issues with X509_time_adj()Dr. Stephen Henson2008-10-081-1/+150
| | | | and should avoid any OS date limitations such as the year 2038 bug.
* Use gmtime on cygwinUlf Möller2006-08-131-1/+1
| | | | Submitted by: Corinna Vinschen
* Since version 7.0, The C RTL in VMS handles time in terms of UTCRichard Levitte2004-07-191-5/+16
| | | | instead of local time.
* Do not try to use non-existent gmtime_r() on SunOS4.Richard Levitte2003-06-121-1/+1
| | | | PR: 585
* Return an error if gmtime returns NULL.Dr. Stephen Henson2003-03-131-2/+4
|
* Check return value of gmtime() and add error codesDr. Stephen Henson2003-01-241-1/+2
| | | | | | | | | where it fails in ASN1_TIME_set(). Edit asn1.h so the new error code is the same in 0.9.7 and 0.9.8, rebuild new error codes. Clear error queue in req.c if *_min or *_max is absent.
* Patches to make OpenSSL compilable on MacOS/X.Richard Levitte2002-01-081-1/+1
| | | | Submitted by Pier Fumagalli <pier@betaversion.org>
* Make sure memcpy() gets properly declared by including string.h.Richard Levitte2001-08-031-0/+1
|
* Use one address consistently.Richard Levitte2001-07-051-1/+1
|
* Changes to have OpenSSL compile on OS/2.Richard Levitte2001-07-021-1/+1
| | | | Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>
* New internal function OPENSSL_gmtime, which is intended to do the sameRichard Levitte2001-05-161-0/+202
as gmtime_r() on the systems where that is defined.