summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/comp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Drop the comp moduletb2023-07-286-898/+4
| | | | | | | | | | | opensslfeatures.h has long defined OPENSSL_NO_COMP and the build with ZLIB was broken in openssl(1) since 2015 and in libcrypto since 2022. ZLIB was unifdefed a while ago, now we can retire the public API. The comp.h header stays devoid of code because a number of ports use it for historic reasons. ok jsing
* Hide symbols in cms, comp, conf, and bufferbeck2023-07-084-4/+12
| | | | ok jsing@
* Unifdef ZLIBtb2023-06-112-547/+3
| | | | | | | This has long been unused code and compilation with -DZLIB was broken for a long time after BIO was made opaque. ok jsing
* c_zlib.c needs bio_local.h with -DZLIB.tb2023-04-171-1/+2
| | | | | Apparently nobody tried to compile libcrypto with ZLI since Jan 2022. Maybe this means that we can unifdef -U ZLIB or maybe not...
* spelling fixes; from paul tagliamontejmc2022-12-261-3/+3
| | | | | | | i removed the arithmetics -> arithmetic changes, as i felt they were not clearly correct ok tb
* Zap trailing whitespace in license and add some empty linestb2022-12-245-10/+18
|
* Add the missing Copyright and license headers in the libcrypto/comp directory.schwarze2022-12-236-9/+570
| | | | | | | | | | | | | | | | | | | Requested some time ago by tb@. According to OpenSSL git history, the original version of this code appeared in SSLeay 0.9.1b (July 6, 1998). The LICENSE file in that release states that the Copyright of SSLeay belongs to Eric Young, and we believe that Eric still maintained SSLeay himself at that time. We have seen a small number of examples where Eric credited outside contributors for code that he included in his distribution, including citing Copyright notices and license headers as appropriate. We found no such hints regarding this code, so it is reasonable to assume that he wrote this code himself. Regarding subsequent changes and additions, i inspected the OpenSSL git repository. No code change; only Copyright and license comments are added.
* Remove mkerr.pl remnants from LibreSSLkn2022-07-121-2/+1
| | | | | | | This script is not used at all and files are edited by hand instead. Thus remove misleading comments incl. the obsolete script/config. Feedback OK jsing tb
* Implement new-style OpenSSL BIO callbackstb2022-01-141-3/+3
| | | | | | | | | | This provides support for new-style BIO callbacks in BIO_{read,write,gets,puts}() and a helper function to work out whether it should call the new or the old style callback. It also adds a few typedefs and minor code cleanup as well as the BIO_{get,set}_callback_ex() from jsing, ok tb
* Make structs in comp.h opaquetb2022-01-142-29/+28
| | | | | | | This moves COMP_CTX and COMP_METHOD to comp_local.h and provides missing typedefs in ossl_typ.h. ok inoguchi jsing
* Add an essentially empty comp_local.h and include it where it willtb2022-01-095-4/+22
| | | | | | be needed. discussed with jsing
* Bring in compatibility for OpenSSL 1.1 style init functions.beck2018-03-171-1/+3
| | | | | | | | | This adds OPENSSL_init_crypto and OPENSSL_init_ssl, as well thread safety modifications for the existing LibreSSL init functions. The initialization routines are called automatically by the normal entry points into the library, as in newer OpenSSL ok jsing@, nits by tb@ and deraadt@
* Send the function codes from the error functions to the bit bucket,beck2017-01-292-15/+9
| | | | | | as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
* remove NULL-checks before free()mmcc2015-12-231-9/+5
|
* minor cleanup of zlib code. DSO is gone. ok jsing.tedu2014-11-035-217/+7
|
* Explicitly include <openssl/opensslconf.h> in every file that referencesjsing2014-07-101-2/+5
| | | | | | | | | 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.
* tags as requested by miod and teduderaadt2014-06-125-1/+5
|
* malloc() result does not need a cast.deraadt2014-06-071-2/+1
| | | | ok miod
* calloc instead of malloc/memset. from Benjamin Baiertedu2014-05-251-2/+1
|
* Use C99 initializers for the various FOO_METHOD structs. More readable, andmiod2014-04-272-42/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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@
* Replace all use of ERR_add_error_data with ERR_asprintf_error_data.beck2014-04-261-3/+3
| | | | | | | | 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-265-424/+414
|
* malloc + memset 0 -> callocmiod2014-04-171-22/+2
| | | | | (not that it matters much as this is in disabled code, for we don't build with zlib support)
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-172-16/+16
| | | | | | | | 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
|
* remove auto-generated dependencies from the old unused build system, soderaadt2014-04-141-30/+0
| | | | | that it is easier to find code pieces. They are getting in the way. ok miod
* resolve conflictsdjm2012-10-131-2/+2
|
* openssl-1.0.0e: resolve conflictsdjm2011-11-031-2/+1
|
* resolve conflicts, fix local changesdjm2010-10-013-115/+2
|
* This commit was generated by cvs2git to track changes on a CVS vendordjm2010-10-011-1/+1
|\ | | | | branch.
| * import OpenSSL-1.0.0adjm2010-10-011-1/+1
| |
* | add a fix from OpenSSL CVS for SA38200.jasper2010-01-311-10/+7
| | | | | | | | | | | | | | | | "Modify compression code so it avoids using ex_data free functions. This stops applications that call CRYPTO_free_all_ex_data() prematurely leaking memory." looks ok to markus@
* | resolve conflictsdjm2009-01-091-2/+2
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2009-01-091-1/+1
|\| | | | | branch.
| * import openssl-0.9.8jdjm2009-01-091-1/+1
| |
* | resolve conflictsdjm2008-09-064-30/+639
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2008-09-061-26/+21
|\| | | | | branch.
| * import of OpenSSL 0.9.8hdjm2008-09-061-26/+21
| |
* | resolve conflictsdjm2006-06-271-72/+16
| |
* | 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-1/+12
| |
* | This commit was generated by cvs2git to track changes on a CVS vendordjm2005-04-291-0/+113
|\| | | | | branch.
| * import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@djm2005-04-291-0/+113
|
* merge 0.9.7b with local changes; crank majors for libssl/libcryptomarkus2003-05-122-3/+3
|
* merge openssl-0.9.7-beta3, tested on vax by miod@markus2002-09-101-1/+1
|
* execute bourne shell scripts with 'sh' and not with $SHELLmarkus2002-09-041-1/+1
|
* OpenSSL 0.9.7 stable 2002 05 08 mergebeck2002-05-155-29/+167
|
* openssl-engine-0.9.6a mergebeck2001-06-221-1/+2
|
* openssl-engine-0.9.6 mergebeck2000-12-153-14/+16
|