Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Kill a bunch more BUF_strdup's - these are converted to have a check for | beck | 2014-07-22 | 1 | -2/+4 |
| | | | | | NULL before an intrinsic strdup. ok miod@ | ||||
* | The bell tolls for BUF_strdup - Start the migration to using | beck | 2014-07-13 | 1 | -4/+4 |
| | | | | | | intrinsics. This is the easy ones, a few left to check one at a time. ok miod@ deraadt@ | ||||
* | Prevent infinite loop during configuration file parsing; OpenSSL PR #2985 | miod | 2014-07-11 | 1 | -2/+2 |
| | | | | via OpenSSL trunk. | ||||
* | Only import cryptlib.h in the four source files that actually need it. | jsing | 2014-07-11 | 4 | -19/+18 |
| | | | | | | | | 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 | 3 | -4/+13 |
| | | | | | | | | | 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 | -2/+5 |
| | | | | | | are needed in the source files that actually require them. ok beck@ miod@ | ||||
* | remove unused, private version strings except SSL_version_str | bcook | 2014-07-09 | 2 | -6/+2 |
| | | | | | | Also remove unused des_ver.h, which exports some of these strings, but is not installed. ok miod@ tedu@ | ||||
* | replace malloc(strlen())/strlcpy with strdup | bcook | 2014-07-08 | 1 | -3/+2 |
| | | | | ok beck@ jsing@ | ||||
* | Since this is a library, place issetugid() before every getenv() | deraadt | 2014-06-23 | 2 | -6/+14 |
| | | | | ok miod | ||||
* | tags as requested by miod and tedu | deraadt | 2014-06-12 | 10 | -10/+10 |
| | |||||
* | do not include dso.h where it is not needed; ok miod | deraadt | 2014-06-09 | 2 | -2/+0 |
| | |||||
* | Remove various test stubs. The good ones have been moved by jsing | deraadt | 2014-06-07 | 2 | -201/+0 |
| | | | | | | and others to the regress framework. These remaining ones just muddle us up when re-reading code repeatedly. ok jsing | ||||
* | malloc() result does not need a cast. | deraadt | 2014-06-07 | 1 | -3/+3 |
| | | | | ok miod | ||||
* | more: no need for null check before free | deraadt | 2014-05-30 | 2 | -14/+7 |
| | | | | ok tedu guenther | ||||
* | no need for null check before free. from Brendan MacDonell | tedu | 2014-05-30 | 1 | -4/+2 |
| | |||||
* | Everything sane has stdio, and FILE *. we don't need ifdefs for this. | beck | 2014-05-29 | 2 | -12/+0 |
| | | | | ok to firebomb from tedu@ | ||||
* | Almost nothing actually needs to include <openssl/e_os2.h>, however by | jsing | 2014-05-24 | 1 | -1/+2 |
| | | | | | | | 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@ | ||||
* | Use C99 initializers for the various FOO_METHOD structs. More readable, and | miod | 2014-04-27 | 1 | -10/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | avoid unreadable/unmaintainable constructs like that: const EVP_PKEY_ASN1_METHOD cmac_asn1_meth = { EVP_PKEY_CMAC, EVP_PKEY_CMAC, 0, "CMAC", "OpenSSL CMAC method", 0,0,0,0, 0,0,0, cmac_size, 0, 0,0,0,0,0,0,0, cmac_key_free, 0, 0,0 }; ok matthew@ deraadt@ | ||||
* | Put explicit (void) in function declarations and shuffle keywords in some | miod | 2014-04-27 | 2 | -3/+3 |
| | | | | | 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 | 3 | -10/+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-20 | 12 | -1154/+1134 |
| | |||||
* | We'll interpret a (void) cast on snprintf() to mean it's been verified that | guenther | 2014-04-19 | 2 | -2/+2 |
| | | | | | | 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 | -2/+2 |
| | | | | | | funcitons to check for incorrect use. keep BUF_strlcpy and BUF_strlcat for API comptibility only. ok tedu@ | ||||
* | use the portable construct around asprintf; pointed out by halex | deraadt | 2014-04-18 | 1 | -1/+2 |
| | |||||
* | Put the final pieces from e_os.h in the required places, and remove it. | deraadt | 2014-04-18 | 1 | -1/+0 |
| | | | | | "dance on it's grave" says beck ok guenther beck | ||||
* | in CONF_get1_default_config_file(), don't calculate a buffer size, | deraadt | 2014-04-18 | 1 | -15/+5 |
| | | | | | | | malloc it, do unbounded strlcpy's to it... but instead of asnprintf. While there, let's put a '/' between the two path components! Wonder how old that bug is.. ok guenther | ||||
* | more spring VMS cleanup | giovanni | 2014-04-17 | 3 | -14/+0 |
| | | | | ok miod@ lteo@ | ||||
* | Change library to use intrinsic memory allocation functions instead of | beck | 2014-04-17 | 3 | -41/+41 |
| | | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free | ||||
* | we don't use these files for building | tedu | 2014-04-15 | 1 | -78/+0 |
| | |||||
* | Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternity | beck | 2014-04-15 | 2 | -33/+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 conversions | beck | 2014-04-15 | 2 | -2/+2 |
| | | | | | 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 | -74/+0 |
| | | | | | that it is easier to find code pieces. They are getting in the way. ok miod | ||||
* | openssl-1.0.0e: resolve conflicts | djm | 2011-11-03 | 2 | -13/+3 |
| | |||||
* | resolve conflicts, fix local changes | djm | 2010-10-01 | 9 | -314/+140 |
| | |||||
* | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2010-10-01 | 1 | -9/+8 |
|\ | | | | | branch. | ||||
| * | import OpenSSL-1.0.0a | djm | 2010-10-01 | 1 | -9/+8 |
| | | |||||
* | | resolve conflicts | djm | 2009-04-06 | 1 | -1/+1 |
| | | |||||
* | | resolve conflicts | djm | 2009-01-09 | 3 | -3/+5 |
| | | |||||
* | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2009-01-09 | 1 | -8/+9 |
|\| | | | | | branch. | ||||
| * | import openssl-0.9.8j | djm | 2009-01-09 | 1 | -8/+9 |
| | | |||||
* | | resolve conflicts | djm | 2008-09-06 | 7 | -37/+41 |
| | | |||||
* | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2008-09-06 | 1 | -69/+40 |
|\| | | | | | branch. | ||||
| * | import of OpenSSL 0.9.8h | djm | 2008-09-06 | 1 | -69/+40 |
| | | |||||
* | | remove some bogus *p tests from charles longeau | tedu | 2007-03-20 | 1 | -1/+1 |
| | | | | | | | | ok deraadt millert | ||||
* | | resolve conflicts | djm | 2006-06-27 | 2 | -41/+50 |
| | | |||||
* | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2006-06-27 | 1 | -1/+1 |
|\| | | | | | branch. | ||||
| * | import of openssl-0.9.7j | djm | 2006-06-27 | 1 | -1/+1 |
| | | |||||
* | | resolve conflicts | djm | 2005-04-29 | 1 | -0/+5 |
| | | |||||
* | | This commit was generated by cvs2git to track changes on a CVS vendor | djm | 2005-04-29 | 1 | -0/+181 |
|\| | | | | | branch. | ||||
| * | import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@ | djm | 2005-04-29 | 1 | -0/+181 |
| | |