summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/a_utctm.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Stop supporing "legcay" time formats that OpenSSL supports. Rewrite thebeck2015-10-191-173/+0
| | | | | | utctime and gentime wrappers accordingly. Along with some other cleanup. this also removes the need for timegm. ok bcook@ sthen@ jsing@
* Rip the guts out of another gibbering horror of a time comparison function, andbeck2015-10-081-35/+21
| | | | | mark it as #ifndef LIBRESSL_INTERNAL at least we don't use this. ok jsing@
* revert previous accidental commitbeck2015-10-081-20/+34
|
* Spelling in commentbeck2015-10-081-34/+20
|
* Flense the greasy black guts of unreadble string parsing code out of three areasbeck2015-10-021-71/+9
| | | | | | | | | in asn1 and x509 code, all dealing with an ASN1_TIME. This brings the parsing together in one function that converts into a struct tm. While we are at it this also brings us into conformance with RFC 5280 for times allowed in an X509 cert, as OpenSSL is very liberal with what it allows. input and fixes from deraadt@ jsing@ guethther@ and others. ok krw@, guenther@, jsing@
* Replace M_ASN1_UTCTIME_(new|free) with ASN1_UTCTIME_(new|free).jsing2015-09-301-3/+3
|
* Only import cryptlib.h in the four source files that actually need it.jsing2014-07-111-3/+4
| | | | | | | | Remove the openssl public includes from cryptlib.h and add a small number of includes into the source files that actually need them. While here, also sort/group/tidy the includes. ok beck@ miod@
* Stop including standard headers via cryptlib.h - pull in the headers thatjsing2014-07-101-1/+3
| | | | | | are needed in the source files that actually require them. ok beck@ miod@
* tags as requested by miod and teduderaadt2014-06-121-1/+1
|
* more: no need for null check before freederaadt2014-05-301-2/+1
| | | | ok tedu guenther
* Replace ASN1_GENERALIZEDTIME_adj(), ASN1_UTCTIME_adj() andmiod2014-05-151-7/+22
| | | | | | | ASN1_TIME_to_generalizedtime() with wrappers around their former implementations, making sure memory allocated is freed in all failure cases. help and ok from beck@ and Brendan MacDonell.
* Delete #if 0'd time related functions which are totally expired.deraadt2014-04-211-71/+0
| | | | No point even seeing these when we do the 2038 audit later on...
* More KNF.jsing2014-04-191-102/+116
|
* We'll interpret a (void) cast on snprintf() to mean it's been verified thatguenther2014-04-191-1/+1
| | | | | | truncation is either desirable, not an issue, or is detected and handled later ok deraadt@
* OPENSSL_gmtime() is really just gmtime_r(); ok guentherderaadt2014-04-181-2/+2
|
* lob a few more knf grenades in here to soften things up.tedu2014-04-181-28/+17
|
* putting most of the braces in the right column is the very least we can do.tedu2014-04-181-40/+40
|
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-171-2/+2
| | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
* Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternitybeck2014-04-151-18/+0
| | | | | with the bearded ones... some API's that nobody should be using will dissapear with this commit.
* Part 1 of eliminating BIO_snprintf(). This fixes mechanical conversionsbeck2014-04-151-1/+1
| | | | | where the return value is ignored changing to (void) snprintf. ok deraadt@
* resolve conflicts, fix local changesdjm2010-10-011-3/+18
|
* resolve conflictsdjm2008-09-061-1/+1
|
* resolve conflictsdjm2005-04-291-3/+8
|
* merge 0.9.7dmarkus2004-04-081-3/+3
|
* sprintf->snprintf. deraadt@ suggestions and okho2003-04-061-4/+5
|
* merge openssl-0.9.7-beta3, tested on vax by miod@markus2002-09-101-1/+2
|
* merge with 0.9.7-beta1markus2002-09-051-2/+1
|
* Merge OpenSSL 0.9.7-stable-20020605,beck2002-06-071-1/+2
| | | | correctly autogenerate obj_mac.h
* OpenSSL 0.9.7 stable 2002 05 08 mergebeck2002-05-151-61/+9
|
* openssl-engine-0.9.6 mergebeck2000-12-151-4/+86
|
* OpenSSL 0.9.5 mergebeck2000-03-191-2/+8
| | | | | | *warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2 if you are using the ssl26 packages for ssh and other things to work you will need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs
* OpenSSL 0.9.4 mergebeck1999-09-291-25/+73
|
* Import of SSLeay-0.9.0b with RSA and IDEA stubbed + OpenBSD buildryker1998-10-051-0/+212
functionality for shared libs. Note that routines such as sslv2_init and friends that use RSA will not work due to lack of RSA in this library. Needs documentation and help from ports for easy upgrade to full functionality where legally possible.