Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Mark ERR_add_error_data and ERR_add_error_vdata as not for internal use, | beck | 2017-02-20 | 2 | -10/+13 |
| | | | | | and document ERR_asprintf_error_data as their replacement. ok jsing@, ingo@ | ||||
* | Revert previous; the implementation is incorrect since it assumes that the | jsing | 2017-02-07 | 2 | -20/+7 |
| | | | | | provided error code matches the error that is currently on the top of the error stack. | ||||
* | Add file and line to the LibreSSL error strings sine we are no longer in | beck | 2017-02-07 | 2 | -7/+20 |
| | | | | | | | 1989, VMS, or MS/DOS and we all run Brobdingnagian C compilers that have can now be counted on to achieve this level of sophistication nearly everywhere. ok jsing@ | ||||
* | Send the function codes from the error functions to the bit bucket, | beck | 2017-01-29 | 2 | -4/+40 |
| | | | | | | as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@ | ||||
* | Hide SSLerr() under #ifndef LIBRESSL_INTERNAL since we shouldn't be | beck | 2017-01-26 | 1 | -2/+4 |
| | | | | | using it anymore ok jsing@ | ||||
* | unifdef OPENSSL_NO_CMS | jsing | 2016-10-19 | 1 | -7/+1 |
| | |||||
* | Guenther has plans for OPENSSL_NO_CMS, so revert this for the moment. | beck | 2015-02-11 | 1 | -4/+4 |
| | |||||
* | get rid of OPENSSL_NO_CMS code we do not use. | beck | 2015-02-11 | 1 | -4/+4 |
| | | | | ok miod@ | ||||
* | get rid of OPENSSL_NO_COMP code we don't use. | beck | 2015-02-11 | 1 | -7/+1 |
| | | | | jajaja miod@ | ||||
* | GOST crypto algorithms (well, most of them), ported from the removed GOST | miod | 2014-11-09 | 4 | -3/+13 |
| | | | | | | | | | | | | engine to regular EVP citizens, contributed by Dmitry Eremin-Solenikov; libcrypto bits only for now. This is a verbatim import of Dmitry's work, and does not compile in this state; the forthcoming commits will address these issues. None of the GOST code is enabled in libcrypto yet, for it still gets compiled with OPENSSL_NO_GOST defined. However, the public header gost.h will be installed. | ||||
* | Sort/group includes. | jsing | 2014-10-18 | 1 | -25/+26 |
| | |||||
* | compile with c89 (code / decl ordering); from Joakim.Tjernlund@transmode.se | deraadt | 2014-10-05 | 1 | -2/+3 |
| | | | | ok miod | ||||
* | constify strerror return value | bcook | 2014-08-24 | 1 | -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. | jsing | 2014-07-11 | 1 | -3/+1 |
| | |||||
* | Only import cryptlib.h in the four source files that actually need it. | jsing | 2014-07-11 | 3 | -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 was | jsing | 2014-07-11 | 2 | -8/+1 |
| | | | | removed from opensslconf.h, this would no longer compile. | ||||
* | Explicitly include <openssl/opensslconf.h> in every file that references | jsing | 2014-07-10 | 2 | -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 that | jsing | 2014-07-10 | 1 | -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. | jsing | 2014-07-08 | 1 | -5/+3 |
| | | | | ok beck@ deraadt@ | ||||
* | save_errno botch; spotted by miod | deraadt | 2014-06-27 | 1 | -2/+2 |
| | |||||
* | hand-KNF the remaining bits | deraadt | 2014-06-27 | 1 | -98/+106 |
| | |||||
* | save errno in ERR_put_error(), so that SYSerr doesn't have any accidental | deraadt | 2014-06-26 | 1 | -1/+3 |
| | | | | | cases where errno can be trashed. ok jsing | ||||
* | tags as requested by miod and tedu | deraadt | 2014-06-12 | 4 | -4/+4 |
| | |||||
* | malloc() result does not need a cast. | deraadt | 2014-06-07 | 1 | -1/+1 |
| | | | | ok miod | ||||
* | Everything sane has stdio, and FILE *. we don't need ifdefs for this. | beck | 2014-05-29 | 2 | -6/+0 |
| | | | | ok to firebomb from tedu@ | ||||
* | Almost nothing actually needs to include <openssl/e_os2.h>, however by | jsing | 2014-05-24 | 1 | -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. | jsing | 2014-05-24 | 1 | -3/+0 |
| | | | | ok miod@ | ||||
* | add ERR_asprintf_error_data, A tool to be used to get rid of the far too | beck | 2014-04-24 | 2 | -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. | jsing | 2014-04-21 | 4 | -558/+591 |
| | |||||
* | Chop off more SSLv2 tentacles and start fixing and noting y2038 issues. | guenther | 2014-04-20 | 1 | -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 reviewed | guenther | 2014-04-20 | 1 | -1/+1 |
| | |||||
* | We'll interpret a (void) cast on snprintf() to mean it's been verified that | guenther | 2014-04-19 | 2 | -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 of | beck | 2014-04-19 | 1 | -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 developers | beck | 2014-04-18 | 1 | -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 use | deraadt | 2014-04-17 | 1 | -11/+1 |
| | | | | ok miod | ||||
* | Change library to use intrinsic memory allocation functions instead of | beck | 2014-04-17 | 1 | -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 resulting | beck | 2014-04-16 | 1 | -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 building | tedu | 2014-04-15 | 1 | -75/+0 |
| | |||||
* | remove FIPS mode support. people who require FIPS can buy something that | tedu | 2014-04-15 | 1 | -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 conversions | beck | 2014-04-15 | 2 | -5/+5 |
| | | | | | where the return value is ignored changing to (void) snprintf. ok deraadt@ | ||||
* | remove auto-generated dependencies from the old unused build system, so | deraadt | 2014-04-14 | 1 | -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* | deraadt | 2014-04-13 | 1 | -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. | miod | 2014-04-13 | 1 | -9/+10 |
| | |||||
* | resolve conflicts | djm | 2012-10-13 | 3 | -6/+17 |
| | |||||
* | resolve conflicts, fix local changes | djm | 2010-10-01 | 9 | -1268/+851 |
| | |||||
* | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2010-10-01 | 1 | -33/+13 |
|\ | | | | | branch. | ||||
| * | import OpenSSL-1.0.0a | djm | 2010-10-01 | 1 | -33/+13 |
| | | |||||
* | | resolve conflicts | djm | 2009-01-09 | 5 | -760/+115 |
| | | |||||
* | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2009-01-09 | 4 | -14/+1070 |
|\| | | | | | branch. | ||||
| * | import openssl-0.9.8j | djm | 2009-01-09 | 4 | -14/+1070 |
| | |