summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/bio/bss_conn.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* const qualifiers for BIO_new_mem_buf(), BIO_new_connect() andtb2018-05-121-2/+2
| | | | | | | | BIO_new_accept(). The one for BIO_new_mem_buf() is a bit ugly since it needs to cast away the newly added const qualifier, as in OpenSSL commit 8ab31975bac. ok jsing
* const for BIO_{new,set}() and most of the BIO_{f,s}_*() family oftb2018-05-011-3/+3
| | | | | | functions. ok beck, jsing
* Send the function codes from the error functions to the bit bucket,beck2017-01-291-17/+13
| | | | | | as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
* normalize set/getsockopt usage.bcook2014-11-261-2/+2
| | | | | | | | | | Remove the remaining random casts on optval. Fixups for this can be handled by the portability layer all in once place. Remove remaining fake socklen_t unions, though beck@ points out that this also removes support for socklen_t changing its length at runtime. RIP. ok tedu@ beck@ miod@ deraadt@
* MPE support, begone. ok teduderaadt2014-11-211-2/+2
|
* 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@
* Only import cryptlib.h in the four source files that actually need it.jsing2014-07-111-2/+3
| | | | | | | | 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@
* Stop including standard headers via cryptlib.h - pull in the headers thatjsing2014-07-101-6/+9
| | | | | | are needed in the source files that actually require them. ok beck@ miod@
* tags as requested by miod and teduderaadt2014-06-121-1/+1
|
* Fix some more nasty stringyness in here by using asprintf instead of cruft.beck2014-05-301-10/+7
| | | | gets rid of the second last use of the awful DECIMAL_SIZE.
* more: no need for null check before freederaadt2014-05-301-14/+7
| | | | ok tedu guenther
* Use C99 initializers for the various FOO_METHOD structs. More readable, andmiod2014-04-271-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-13/+12
| | | | | | | | 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@
* Bring malloc/calloc/realloc sequences to modern standardderaadt2014-04-211-1/+1
| | | | ok guenther
* We'll interpret a (void) cast on snprintf() to mean it's been verified thatguenther2014-04-191-2/+2
| | | | | | truncation is either desirable, not an issue, or is detected and handled later ok deraadt@
* unifdef NO_SOCKtedu2014-04-181-2/+0
|
* unistd.h for protos where neededderaadt2014-04-181-0/+1
|
* Mostly gut e_os.h:deraadt2014-04-171-1/+3
| | | | | | | | USE_SOCKETS is unrelated to using sockets, but just pulls in .h files. It makes every file buy a kitchen sink, because 11 files forgot to. EXIT() is really exit(), a gentle surprise but... OPENSSL_EXIT() is really just return(), because noone compiles the openssl command non-monolithic anymore
* some KNF cleanup following the scriptderaadt2014-04-171-6/+6
|
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-171-9/+9
| | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
* > As I walk through the valley of the shadow of deathtedu2014-04-161-10/+0
| | | | | | | | | > I take a look at my life and realize there's nothin' left > Cause I've been blasting and laughing so long, > That even my mama thinks that my mind is gone Remove even more unspeakable evil being perpetuated in the name of VMS. (and lesser evils done in the name of others.) ok miod
* First pass at applying KNF to the OpenSSL code, which almost makes itjsing2014-04-151-341/+310
| | | | | readable. This pass is whitespace only and can readily be verified using tr and md5.
* Part 1 of eliminating BIO_snprintf(). This fixes mechanical conversionsbeck2014-04-151-2/+2
| | | | | where the return value is ignored changing to (void) snprintf. ok deraadt@
* Use shutdown(s, SHUT_RDWR) instead of shutdown(s, 2).matthew2014-04-131-1/+1
| | | | ok beck deraadt
* Remove various horrible socket syscall wrappers, especially SHUTDOWN*deraadt2014-04-131-12/+12
| | | | | | which did shutdown + close, all nasty and surprising. Use the raw syscalls that everyone knows the behaviour of. ok beck matthew
* resolve conflictsdjm2008-09-061-5/+5
|
* resolve conflictsdjm2006-06-271-1/+1
|
* merge 0.9.7dmarkus2004-04-081-3/+3
|
* merge 0.9.7b with local changes; crank majors for libssl/libcryptomarkus2003-05-121-2/+2
|
* Trivial sprintf() -> snprintf() changes. ok deraadt@ho2003-04-051-3/+3
|
* OpenSSL 0.9.7 stable 2002 05 08 mergebeck2002-05-151-7/+8
|
* openssl-engine-0.9.6 mergebeck2000-12-151-23/+24
|
* OpenSSL 0.9.5 mergebeck2000-03-191-5/+37
| | | | | | *warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2 if you are using the ssl26 packages for ssh and other things to work you will need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs
* OpenSSL 0.9.4 mergebeck1999-09-291-88/+58
|
* Import of SSLeay-0.9.0b with RSA and IDEA stubbed + OpenBSD buildryker1998-10-051-0/+648
functionality for shared libs. Note that routines such as sslv2_init and friends that use RSA will not work due to lack of RSA in this library. Needs documentation and help from ports for easy upgrade to full functionality where legally possible.