summaryrefslogtreecommitdiffstats
path: root/crypto/o_time.c
AgeCommit message (Collapse)Author
2018-08-14Update copyright yearMatt Caswell
Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/6954)
2018-03-27o_time.c: use gmtime_s with MSVCMiroslav Suk
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) (cherry picked from commit 98c03302fb7b855647aa14022f61f5fb272e514a)
2017-08-05Fix typo in files in crypto folderXiaoyin Liu
Reviewed-by: Kurt Roeckx <kurt@roeckx.be> Reviewed-by: Andy Polyakov <appro@openssl.org> GH: #4093 (cherry picked from commit c9a41d7dd631a69b73bea8af714a3a8b872b8309)
2017-03-03Reset executable bits on files where not needed.Bernd Edlinger
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2838)
2017-03-01VMS: compensate for gmtime_r() parameter pointer sizeRichard Levitte
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) (cherry picked from commit 48ce800aa5a2ccee204ad3960a20c4ca14acb3a1)
2017-02-28Code cleanup: remove the VMS specific reimplementation of gmtimeRichard Levitte
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) (cherry picked from commit 9d70ac97d9d8720e6ed280609c844da403b80440)
2017-02-14Remove obsolete commentGuido Vranken
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1613) (cherry picked from commit 7c120357e5ef434c8a7d1d1c3ba4f2a33266374e)
2016-08-04VSI submisson: make better use of item lists in o_time.cRichard Levitte
Reviewed-by: Rich Salz <rsalz@openssl.org>
2016-05-17Copyright consolidation 09/10Rich Salz
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-03-17Remove Netware and OS/2Rich Salz
Reviewed-by: Richard Levitte <levitte@openssl.org>
2016-02-05GH601: Various spelling fixes.FdaSilvaYY
Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
2016-01-26Remove /* foo.c */ commentsRich Salz
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>
2015-12-18Remove the "eay" c-file-style indicatorsRichard Levitte
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>
2015-09-02Check OPENSSL_gmtime_diffRich Salz
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>
2015-01-22Re-align some comments after running the reformat script.Matt Caswell
This should be a one off operation (subsequent invokation of the script should not move them) Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-01-22Run util/openssl-format-source -v -c .Matt Caswell
Reviewed-by: Tim Hudson <tjh@openssl.org>
2014-12-30mark all block comments that need format preserving so thatTim Hudson
indent will not alter them when reformatting comments Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
2014-12-21RT3548: Remvoe unsupported platformsRich Salz
This commit removes SunOS (a sentimental favorite of mine). Reviewed-by: Richard Levitte <levitte@openssl.org>
2014-12-08Include <openssl/foo.h> instead of "foo.h"Geoff Thorpe
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>
2014-02-19Move gmtime functions to crypto.h.Ben Laurie
2012-11-21Reorganise parameters for OPENSSL_gmtime_diff.Dr. Stephen Henson
Make ASN1_UTCTIME_cmp_time_t more robust by using the new time functions.
2012-11-20don't use psec or pdays if NULLDr. Stephen Henson
2011-03-19After some adjustments, apply the changes OpenSSL 1.0.0d on OpenVMSRichard Levitte
submitted by Steven M. Schweda <sms@antinode.info>
2010-04-15new function to diff tm structuresDr. Stephen Henson
2010-04-15oops revert patch not part of Configure diffDr. Stephen Henson
2010-04-15oops, commit Configure part of PR#2234Dr. Stephen Henson
2008-10-07Experimental new date handling routines. These fix issues with X509_time_adj()Dr. Stephen Henson
and should avoid any OS date limitations such as the year 2038 bug.
2006-08-13Use gmtime on cygwinUlf Möller
Submitted by: Corinna Vinschen
2004-07-19Since version 7.0, The C RTL in VMS handles time in terms of UTCRichard Levitte
instead of local time.
2003-06-12Do not try to use non-existent gmtime_r() on SunOS4.Richard Levitte
PR: 585
2003-03-13Return an error if gmtime returns NULL.Dr. Stephen Henson
2003-01-24Check return value of gmtime() and add error codesDr. Stephen Henson
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.
2002-01-08Patches to make OpenSSL compilable on MacOS/X.Richard Levitte
Submitted by Pier Fumagalli <pier@betaversion.org>
2001-08-03Make sure memcpy() gets properly declared by including string.h.Richard Levitte
2001-07-05Use one address consistently.Richard Levitte
2001-07-01Changes to have OpenSSL compile on OS/2.Richard Levitte
Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>
2001-05-16New internal function OPENSSL_gmtime, which is intended to do the sameRichard Levitte
as gmtime_r() on the systems where that is defined.