summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/dso
AgeCommit message (Collapse)AuthorFilesLines
2018-08-24In DSO_up_ref(), check return value of CRYPTO_add() and reporttb1-3/+5
failure accordingly. ok jsing
2017-01-29Send the function codes from the error functions to the bit bucket,beck3-108/+55
as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
2016-03-15'accomodate' -> 'accommodate' in comments.krw1-2/+2
Started by diff from Mical Mazurek.
2015-02-07Delete a lot of #if 0 code in libressl.doug2-18/+2
There are a few instances where #if 1 is removed but the code remains. Based on the following OpenSSL commits. Some of the commits weren't strictly deletions so they are going to be split up into separate commits. 6f91b017bbb7140f816721141ac156d1b828a6b3 3d47c1d331fdc7574d2275cda1a630ccdb624b08 dfb56425b68314b2b57e17c82c1df42e7a015132 c8fa2356a00cbaada8963f739e5570298311a060 f16a64d11f55c01f56baa62ebf1dec7f8fe718cb 9ccc00ef6ea65567622e40c49aca43f2c6d79cdb 02a938c953b3e1ced71d9a832de1618f907eb96d 75d0ebef2aef7a2c77b27575b8da898e22f3ccd5 d6fbb194095312f4722c81c9362dbd0de66cb656 6f1a93ad111c7dfe36a09a976c4c009079b19ea1 1a5adcfb5edfe23908b350f8757df405b0f5f71f 8de24b792743d11e1d5a0dcd336a49368750c577 a2b18e657ea1a932d125154f4e13ab2258796d90 8e964419603d2478dfb391c66e7ccb2dcc9776b4 32dfde107636ac9bc62a5b3233fe2a54dbc27008 input + ok jsing@, miod@, tedu@
2014-08-14fixed overrid(d)en typotobias1-2/+2
millert@ and jmc@ agree that "overriden" is wrong
2014-07-11Only import cryptlib.h in the four source files that actually need it.jsing4-8/+8
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@
2014-07-10Explicitly include <openssl/opensslconf.h> in every file that referencesjsing1-1/+4
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.
2014-07-10Stop including standard headers via cryptlib.h - pull in the headers thatjsing2-2/+6
are needed in the source files that actually require them. ok beck@ miod@
2014-06-12tags as requested by miod and teduderaadt6-6/+6
2014-06-11c-file-style hints, begone; ok beckderaadt3-3/+3
2014-05-30more: no need for null check before freederaadt2-7/+3
ok tedu guenther
2014-05-30no need for null check before free. from Brendan MacDonelltedu1-2/+1
2014-04-27Use C99 initializers for the various FOO_METHOD structs. More readable, andmiod2-34/+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@
2014-04-26Replace all use of ERR_add_error_data with ERR_asprintf_error_data.beck1-4/+5
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@
2014-04-23ain't nobody got time for hpuxtedu1-22/+0
2014-04-23fix some variablestedu1-2/+1
2014-04-23replace a bunch of hand duped strings with strduptedu2-10/+4
2014-04-23malloc/memset -> calloc. from peter malonetedu1-2/+1
2014-04-20Eliminate duplicated logic by switching from malloc+snprintf to asprintfguenther1-19/+13
ok beck@
2014-04-19KNF.jsing6-557/+523
2014-04-19use intrinsic strlcpy and strlcat everywhere so we only have one set ofbeck1-2/+2
funcitons to check for incorrect use. keep BUF_strlcpy and BUF_strlcat for API comptibility only. ok tedu@
2014-04-17kill REF_PRINT/REF_CHECK debugging framework noone would usederaadt1-10/+0
ok miod
2014-04-17Change library to use intrinsic memory allocation functions instead ofbeck3-19/+19
OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
2014-04-15we don't use these files for buildingtedu1-77/+0
2014-04-15Just like every web browser expands until it can read mail, every modularmiod7-2148/+1
library expands until it has its own dlfcn wrapper, and libcrypto is no exception. Remove the non-dlfcn DSO methods. This causes public DSO_METHOD_{beos,dl,vms,win32} to disappear (major bump coming soon). Note that portable software ought to use DSO_METHOD_openssl instead of picking the backend directly (which makes one wonder why the backends are exposed, as it is unlikely that more than one can work on your system). ok beck@ deraadt@
2014-04-14remove auto-generated dependencies from the old unused build system, soderaadt1-73/+0
that it is easier to find code pieces. They are getting in the way. ok miod
2014-04-13Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.miod1-1/+1
2012-10-22Restore r1.10, lost during last update:miod1-1/+1
Disable use of dladdr() on a.out arches, they do not provide it (yet);
2012-10-13resolve conflictsdjm1-1/+2
2011-11-03openssl-1.0.0e: resolve conflictsdjm2-79/+101
2010-10-18Disable use of dladdr() on a.out arches, they do not provide it (yet); ok djm@miod1-1/+1
2010-10-01resolve conflicts, fix local changesdjm9-211/+480
2010-10-01import OpenSSL-1.0.0adjm3-3/+283
2009-01-09import openssl-0.9.8jdjm1-1/+1
2008-09-06remerge local tweaks, update per-arch configuration headers, updatedjm1-5/+8
Makefiles, crank shlib_version
2008-09-06resolve conflictsdjm7-86/+734
2008-09-06import of OpenSSL 0.9.8hdjm2-22/+26
2006-06-27resolve conflictsdjm4-50/+138
2006-06-27import of openssl-0.9.7jdjm1-1/+1
2005-04-29resolve conflictsdjm1-1/+1
2005-04-29import of openssl-0.9.7g; tested on platforms from alpha to zaurus, ok deraadt@djm1-0/+140
2005-03-30enable openssl DSO (typo, it's -DDSO_DLFCN not -DSO_DLFCN); Douglas Santosmarkus1-3/+3
2004-04-08merge 0.9.7dmarkus1-2/+2
2003-11-11merge 0.9.7c; minor bugsfixes;markus1-1/+5
API addition: ERR_release_err_state_table [make includes before you build libssl/libcrypto]
2003-05-12merge 0.9.7b with local changes; crank majors for libssl/libcryptomarkus3-3/+3
2003-03-16Less strcpy/strcat/sprintf. tdeval@ ok.ho1-2/+2
2002-09-10merge openssl-0.9.7-beta3, tested on vax by miod@markus1-1/+1
2002-09-04execute bourne shell scripts with 'sh' and not with $SHELLmarkus1-1/+1
2002-06-07Merge OpenSSL 0.9.7-stable-20020605,beck1-1/+1
correctly autogenerate obj_mac.h
2002-05-15OpenSSL 0.9.7 stable 2002 05 08 mergebeck9-300/+566