summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/conf (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Kill a bunch more BUF_strdup's - these are converted to have a check forbeck2014-07-221-2/+4
| | | | | NULL before an intrinsic strdup. ok miod@
* The bell tolls for BUF_strdup - Start the migration to usingbeck2014-07-131-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 #2985miod2014-07-111-2/+2
| | | | via OpenSSL trunk.
* Only import cryptlib.h in the four source files that actually need it.jsing2014-07-114-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 referencesjsing2014-07-103-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 thatjsing2014-07-101-2/+5
| | | | | | are needed in the source files that actually require them. ok beck@ miod@
* remove unused, private version strings except SSL_version_strbcook2014-07-092-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 strdupbcook2014-07-081-3/+2
| | | | ok beck@ jsing@
* Since this is a library, place issetugid() before every getenv()deraadt2014-06-232-6/+14
| | | | ok miod
* tags as requested by miod and teduderaadt2014-06-1210-10/+10
|
* do not include dso.h where it is not needed; ok miodderaadt2014-06-092-2/+0
|
* Remove various test stubs. The good ones have been moved by jsingderaadt2014-06-072-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.deraadt2014-06-071-3/+3
| | | | ok miod
* more: no need for null check before freederaadt2014-05-302-14/+7
| | | | ok tedu guenther
* no need for null check before free. from Brendan MacDonelltedu2014-05-301-4/+2
|
* Everything sane has stdio, and FILE *. we don't need ifdefs for this.beck2014-05-292-12/+0
| | | | ok to firebomb from tedu@
* Almost nothing actually needs to include <openssl/e_os2.h>, however byjsing2014-05-241-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, andmiod2014-04-271-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 somemiod2014-04-272-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.beck2014-04-263-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.jsing2014-04-2012-1154/+1134
|
* We'll interpret a (void) cast on snprintf() to mean it's been verified thatguenther2014-04-192-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 ofbeck2014-04-191-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 halexderaadt2014-04-181-1/+2
|
* Put the final pieces from e_os.h in the required places, and remove it.deraadt2014-04-181-1/+0
| | | | | "dance on it's grave" says beck ok guenther beck
* in CONF_get1_default_config_file(), don't calculate a buffer size,deraadt2014-04-181-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 cleanupgiovanni2014-04-173-14/+0
| | | | ok miod@ lteo@
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-173-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 buildingtedu2014-04-151-78/+0
|
* Send the rotIBM stream cipher (ebcdic) to Valhalla to party for eternitybeck2014-04-152-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 conversionsbeck2014-04-152-2/+2
| | | | | 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-74/+0
| | | | | that it is easier to find code pieces. They are getting in the way. ok miod
* openssl-1.0.0e: resolve conflictsdjm2011-11-032-13/+3
|
* resolve conflicts, fix local changesdjm2010-10-019-314/+140
|
* This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-011-9/+8
|\ | | | | branch.
| * import OpenSSL-1.0.0adjm2010-10-011-9/+8
| |
* | resolve conflictsdjm2009-04-061-1/+1
| |
* | resolve conflictsdjm2009-01-093-3/+5
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-01-091-8/+9
|\| | | | | branch.
| * import openssl-0.9.8jdjm2009-01-091-8/+9
| |
* | resolve conflictsdjm2008-09-067-37/+41
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2008-09-061-69/+40
|\| | | | | branch.
| * import of OpenSSL 0.9.8hdjm2008-09-061-69/+40
| |
* | remove some bogus *p tests from charles longeautedu2007-03-201-1/+1
| | | | | | | | ok deraadt millert
* | resolve conflictsdjm2006-06-272-41/+50
| |
* | 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-291-0/+5
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2005-04-291-0/+181
|\| | | | | branch.
| * import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@djm2005-04-291-0/+181
| |