summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/err (follow)
Commit message (Collapse)AuthorAgeFilesLines
* compile with c89 (code / decl ordering); from Joakim.Tjernlund@transmode.sederaadt2014-10-051-2/+3
| | | | ok miod
* constify strerror return valuebcook2014-08-241-2/+2
| | | | | | | | | There is no intention to modify the string returned by strerror and doing so is forbidden by the standard. from Jonas 'Sortie' Termansen ok tedu@ deraadt@
* Revert change that snuck into previous commit.jsing2014-07-111-3/+1
|
* Only import cryptlib.h in the four source files that actually need it.jsing2014-07-113-10/+10
| | | | | | | | 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@
* Remove JPAKE remnants - there is no jpake.h, so if OPENSSL_NO_JPAKE wasjsing2014-07-112-8/+1
| | | | removed from opensslconf.h, this would no longer compile.
* Explicitly include <openssl/opensslconf.h> in every file that referencesjsing2014-07-102-3/+9
| | | | | | | | | an OPENSSL_NO_* define. This avoids relying on something else pulling it in for us, plus it fixes several cases where the #ifndef OPENSSL_NO_XYZ is never going to do anything, since OPENSSL_NO_XYZ will never defined, due to the fact that opensslconf.h has not been included. This also includes some miscellaneous sorting/tidying of headers.
* 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@
* We do not care about broken Borland C pre-processors.jsing2014-07-081-5/+3
| | | | ok beck@ deraadt@
* save_errno botch; spotted by miodderaadt2014-06-271-2/+2
|
* hand-KNF the remaining bitsderaadt2014-06-271-98/+106
|
* save errno in ERR_put_error(), so that SYSerr doesn't have any accidentalderaadt2014-06-261-1/+3
| | | | | cases where errno can be trashed. ok jsing
* tags as requested by miod and teduderaadt2014-06-124-4/+4
|
* malloc() result does not need a cast.deraadt2014-06-071-1/+1
| | | | ok miod
* Everything sane has stdio, and FILE *. we don't need ifdefs for this.beck2014-05-292-6/+0
| | | | ok to firebomb from tedu@
* Almost nothing actually needs to include <openssl/e_os2.h>, however byjsing2014-05-241-1/+1
| | | | | | | including it they get <openssl/opensslconf.h>. So instead of pulling in <openssl/e_os2.h>, just pull in <openssl/opensslconf.h>. "go ahead" miod@
* No OPENSSL_SYS_WINDOWS wanted.jsing2014-05-241-3/+0
| | | | ok miod@
* add ERR_asprintf_error_data, A tool to be used to get rid of the far toobeck2014-04-242-25/+26
| | | | | | | | | frequent construct of 30 lines of pointer and strlcat insanity followed by an ERR_add_error_data. I will sweep through here like a chubby mongol horde in the next few days pillaging crappy ERR_add_error_data's. Oh and while we're at it fix the nasty vdata function to use something less hard on the eyes. ok jsing@
* KNF.jsing2014-04-214-558/+591
|
* Chop off more SSLv2 tentacles and start fixing and noting y2038 issues.guenther2014-04-201-11/+18
| | | | | | | APIs that pass times as longs will have to change at some point... Bump major on both libcrypto and libssl. ok tedu@
* Restore beck's rev 1.9: snprintf() was reviewedguenther2014-04-201-1/+1
|
* We'll interpret a (void) cast on snprintf() to mean it's been verified thatguenther2014-04-192-5/+5
| | | | | | truncation is either desirable, not an issue, or is detected and handled later ok deraadt@
* use intrinsic strlcpy and strlcat everywhere so we only have one set ofbeck2014-04-191-1/+1
| | | | | | funcitons to check for incorrect use. keep BUF_strlcpy and BUF_strlcat for API comptibility only. ok tedu@
* Unsurprisingly, since <unistd.h> was so darn hard to find for OpenSSL developersbeck2014-04-181-19/+0
| | | | | | | | they had resorted to manually protyping read(2) instead of incredible amount of preprocessor wizardry needed to find the ever illusive <unistd.h>. Let's just include <unistd.h> and we don't need to do this.. While we're at it flense out _OSD_POSIX and __DGJPP__ cruft. ok krw@
* kill REF_PRINT/REF_CHECK debugging framework noone would usederaadt2014-04-171-11/+1
| | | | ok miod
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-171-7/+7
| | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
* Clean up dangerous strncpy use. This included a use where the resultingbeck2014-04-161-2/+1
| | | | | | | string was potentially not nul terminated and a place where malloc return was unchecked. while we're at it remove dummytest.c ok miod@
* we don't use these files for buildingtedu2014-04-151-75/+0
|
* remove FIPS mode support. people who require FIPS can buy something thattedu2014-04-151-6/+0
| | | | | meets their needs, but dumping it in here only penalizes the rest of us. ok beck deraadt
* Part 1 of eliminating BIO_snprintf(). This fixes mechanical conversionsbeck2014-04-152-5/+5
| | | | | where the return value is ignored changing to (void) snprintf. ok deraadt@
* remove auto-generated dependencies from the old unused build system, soderaadt2014-04-141-35/+0
| | | | | that it is easier to find code pieces. They are getting in the way. ok miod
* Remove various horrible socket syscall wrappers, especially SHUTDOWN*deraadt2014-04-131-1/+1
| | | | | | which did shutdown + close, all nasty and surprising. Use the raw syscalls that everyone knows the behaviour of. ok beck matthew
* Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.miod2014-04-131-9/+10
|
* resolve conflictsdjm2012-10-133-6/+17
|
* resolve conflicts, fix local changesdjm2010-10-019-1268/+851
|
* This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-011-33/+13
|\ | | | | branch.
| * import OpenSSL-1.0.0adjm2010-10-011-33/+13
| |
* | resolve conflictsdjm2009-01-095-760/+115
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-01-094-14/+1070
|\| | | | | branch.
| * import openssl-0.9.8jdjm2009-01-094-14/+1070
| |
* | update to openssl-0.9.8i; tested by several, especially krw@djm2009-01-052-1/+4
| |
* | resolve conflictsdjm2008-09-065-33/+122
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2008-09-061-33/+24
|\| | | | | branch.
| * import of OpenSSL 0.9.8hdjm2008-09-061-33/+24
| |
* | resolve conflictsdjm2006-06-272-3/+5
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2006-06-271-1/+1
|\| | | | | branch.
| * import of openssl-0.9.7jdjm2006-06-271-1/+1
| |
* | resolve conflictsdjm2005-04-294-0/+10
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2005-04-291-0/+118
|\| | | | | branch.
| * import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@djm2005-04-291-0/+118
|
* merge 0.9.7dmarkus2004-04-081-1/+1
|