Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | if (x) FOO_free(x) -> FOO_free(x). | miod | 2014-07-12 | 1 | -3/+2 |
| | | | | | | | Improves readability, keeps the code smaller so that it is warmer in your cache. review & ok deraadt@ | ||||
* | Only import cryptlib.h in the four source files that actually need it. | jsing | 2014-07-11 | 9 | -30/+30 |
| | | | | | | | | 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@ | ||||
* | Explicitly include <openssl/opensslconf.h> in every file that references | jsing | 2014-07-10 | 4 | -4/+12 |
| | | | | | | | | | 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 | 4 | -6/+14 |
| | | | | | | are needed in the source files that actually require them. ok beck@ miod@ | ||||
* | cast ASN1_STRING (unsigned char *) to match strlcat's argument (char *) | bcook | 2014-07-09 | 1 | -2/+2 |
| | | | | ok beck@ | ||||
* | tags as requested by miod and tedu | deraadt | 2014-06-12 | 12 | -12/+12 |
| | |||||
* | malloc() result does not need a cast. | deraadt | 2014-06-07 | 1 | -1/+1 |
| | | | | ok miod | ||||
* | Get the public headers from the official place with <openssl/ > | deraadt | 2014-05-31 | 2 | -2/+2 |
| | | | | from Brent Cook | ||||
* | Don't write out more than we have allocated in obj_txt, as the glory | beck | 2014-05-30 | 1 | -1/+2 |
| | | | | | that is OBJ_obj2txt() can return a larger value.. ok tedu@ | ||||
* | Everything sane has stdio, and FILE *. we don't need ifdefs for this. | beck | 2014-05-29 | 1 | -8/+0 |
| | | | | ok to firebomb from tedu@ | ||||
* | Fix a Y2038 problem, by conversion of long to time_t. | deraadt | 2014-05-27 | 2 | -18/+8 |
| | | | | | | | | | The TS_RESP_CTX_set_time_cb() API gets removed. Nothing in the greater ecosystem ever calls it. This API needs to be removed, because if anyone ever calls on a BE 32 system assuming long rather than time_t, it will be dangerously incompatible. ok miod guenther | ||||
* | calloc instead of malloc/memset. from Benjamin Baier | tedu | 2014-05-25 | 2 | -6/+4 |
| | |||||
* | Hello? Yes, you're speaking with OPENSSL_SYS_UNIX. | jsing | 2014-05-22 | 1 | -28/+0 |
| | | | | ok beck@ miod@ | ||||
* | Remove WIN32, WIN64 and MINGW32 tentacles. | miod | 2014-04-28 | 1 | -5/+0 |
| | | | | | | | | Also check for _LP64 rather than __arch64__ (the former being more reliable than __LP64__ or __arch64__) to tell 64-bit int platforms apart from 32-bit int platforms. Loosely based upon a diff from Martijn van Duren on tech@ | ||||
* | Put explicit (void) in function declarations and shuffle keywords in some | miod | 2014-04-27 | 1 | -1/+1 |
| | | | | | declaration to pass -Wextra, should we want to add it to CFLAGS. No binary change. | ||||
* | Replace all use of ERR_add_error_data with ERR_asprintf_error_data. | beck | 2014-04-26 | 2 | -7/+7 |
| | | | | | | | | This avoids a lot of ugly gymnastics to do snprintfs before sending the bag of strings to ERR, and eliminates at least one place in dso_dlfctn.c where it was being called with the incorrect number of arguments and using random things off the stack as addresses of strings. ok krw@, jsing@ | ||||
* | KNF. | jsing | 2014-04-21 | 12 | -1467/+1618 |
| | |||||
* | Restore tedu's rev 1.4: snprintf() was reviewed. | guenther | 2014-04-20 | 1 | -1/+1 |
| | |||||
* | reset imprint to NULL to avoid double free. from mancha1 at zoho | tedu | 2014-04-20 | 1 | -0/+1 |
| | |||||
* | We'll interpret a (void) cast on snprintf() to mean it's been verified that | guenther | 2014-04-19 | 1 | -1/+1 |
| | | | | | | truncation is either desirable, not an issue, or is detected and handled later ok deraadt@ | ||||
* | Change library to use intrinsic memory allocation functions instead of | beck | 2014-04-17 | 4 | -15/+15 |
| | | | | | | | | 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 | -9/+5 |
| | | | | | | | string was potentially not nul terminated and a place where malloc return was unchecked. while we're at it remove dummytest.c ok miod@ | ||||
* | Zero-pad usec format to handle values less than 100,000 correctly | guenther | 2014-04-16 | 1 | -1/+1 |
| | | | | ok matthew@ tedu@ | ||||
* | Mandatory Surgeon Guenther's Warning: This code could not possibly be | tedu | 2014-04-16 | 1 | -24/+24 |
| | | | | | | | correct because it doesn't zerofill the front of usecs, but that's the way I found it. a more thorough emulation of the old code, but with fewer whacky snprintf pointer arithmetic antics. ok beck guenther | ||||
* | revert. the full horror has only now revealed itself. | tedu | 2014-04-16 | 1 | -26/+21 |
| | |||||
* | replace some bio_snprintf crazy with regular snprintf. | tedu | 2014-04-16 | 1 | -21/+26 |
| | | | | | beck had a diff to convert to strftime, but it's easier to verify this is functionally the same. ok beck. | ||||
* | we don't use these files for building | tedu | 2014-04-15 | 1 | -86/+0 |
| | |||||
* | remove auto-generated dependencies from the old unused build system, so | deraadt | 2014-04-14 | 1 | -183/+0 |
| | | | | | that it is easier to find code pieces. They are getting in the way. ok miod | ||||
* | Remove the nCipher CHIL engine. It is not standalone and depends on | reyk | 2014-04-14 | 1 | -3/+0 |
| | | | | external libraries that aren't covered by the same license. | ||||
* | Cope with the removal of openssl/symhacks.h | deraadt | 2014-04-13 | 1 | -1/+0 |
| | |||||
* | resolve conflicts | djm | 2012-10-13 | 1 | -3/+6 |
| | |||||
* | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2012-10-13 | 1 | -3/+0 |
|\ | | | | | branch. | ||||
| * | import OpenSSL-1.0.1c | djm | 2012-10-13 | 2 | -6/+6 |
| | | |||||
* | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2011-11-03 | 1 | -3/+2 |
|\| | | | | | branch. | ||||
| * | import OpenSSL 1.0.0e | djm | 2011-11-03 | 1 | -3/+2 |
| | | |||||
* | | resolve conflicts, fix local changes | djm | 2010-10-01 | 1 | -3/+5 |
| | | |||||
* | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2010-10-01 | 12 | -0/+4951 |
|\| | | | | | branch. | ||||
| * | import OpenSSL-1.0.0a | djm | 2010-10-01 | 12 | -0/+4951 |
| | |||||
* | import OpenSSL-1.0.0a | djm | 2010-10-01 | 1 | -0/+269 |