summaryrefslogtreecommitdiff
path: root/src/lib/libssl/bio_ssl.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Let SSL_copy_session_id() return an int for error checking.tb2018-08-241-2/+4
| | | | | | | | | | Accordingly, add some error checking to SSL_copy_session_id(), BIO_ssl_copy_session_id(), and SSL_dup(). Prompted by OpenSSL commit 17dd65e6e1f Tested in a bulk build by sthen ok jsing
* const for BIO_f_ssl(), the last const difference to OpenSSL in ourtb2018-05-011-3/+3
| | | | | | public API in libssl. ok beck, jsing
* Change SSLerror() back to taking two args, with the first one being an SSL *.beck2017-02-071-2/+2
| | | | | | | | | Make a table of "function codes" which maps the internal state of the SSL * to something like a useful name so in a typical error in the connection you know in what sort of place in the handshake things happened. (instead of by arcane function name). Add SSLerrorx() for when we don't have an SSL * ok jsing@ after us both being prodded by bluhm@ to make it not terrible
* Send the function codes from the error functions to the bit bucket,beck2017-01-291-2/+2
| | | | | | as was done earlier in libssl. Thanks inoguchi@ for noticing libssl had more reacharounds into this. ok jsing@ inoguchi@
* knfbeck2017-01-261-6/+11
|
* Split most of SSL_METHOD out into an internal variant, which is opaque.jsing2017-01-231-3/+3
| | | | Discussed with beck@
* move the callbacks from ssl_st to internalbeck2017-01-231-3/+5
| | | | ok jsing@
* convert "last_time" to a time_t, to handle beyond Y2038deraadt2015-09-291-7/+7
| | | | ok guenther miod
* Sort and group includes.jsing2014-11-161-3/+4
|
* tags as requested by miod and teduderaadt2014-06-121-1/+1
|
* Clean up BIO_free() handling in bio_ssl.c - BIO_free() has its own NULLjsing2014-06-081-13/+16
| | | | | | | | check, so do not duplicate it here. Make the error handling consistent by always using 'goto err' rather than returning in certain cases. Also add a missing BIO_free(ssl) in BIO_new_ssl_connect(). ok deraadt@
* remove some #if 0 code. we don't need any more reminders that we're usingtedu2014-05-301-17/+0
| | | | a not quite appropriate data structure. ok jsing
* There is no point in checking if a pointer is non-NULL before calling free,jsing2014-05-281-2/+1
| | | | | | | | since free already does this for us. Also remove some pointless NULL assignments, where the result from malloc(3) is immediately assigned to the same variable. ok miod@
* Use C99 initialisers for BIO_METHOD.jsing2014-05-261-9/+9
|
* Nuke OPENSSL_NO_SOCK since any half sane operating system has sockets.jsing2014-05-021-4/+0
| | | | ok beck@
* more malloc/realloc/calloc cleanups; ok beck kettenisderaadt2014-04-211-2/+1
|
* More KNF.jsing2014-04-191-20/+20
|
* Change library to use intrinsic memory allocation functions instead ofbeck2014-04-171-2/+2
| | | | | | | | OPENSSL_foo wrappers. This changes: OPENSSL_malloc->malloc OPENSSL_free->free OPENSSL_relloc->realloc OPENSSL_freeFunc->free
* First pass at applying KNF to the OpenSSL code, which almost makes itjsing2014-04-141-275/+270
| | | | | readable. This pass is whitespace only and can readily be verified using tr and md5.
* resolve conflictsdjm2012-10-131-0/+2
|
* openssl-1.0.0e: resolve conflictsdjm2011-11-031-0/+4
|
* resolve conflicts, fix local changesdjm2010-10-011-10/+11
|
* resolve conflictsdjm2008-09-061-3/+3
|
* merge 0.9.7b with local changes; crank majors for libssl/libcryptomarkus2003-05-121-0/+6
|
* OpenSSL 0.9.7 stable 2002 05 08 mergebeck2002-05-151-1/+7
|
* openssl-engine-0.9.6 mergebeck2000-12-151-11/+11
|
* OpenSSL 0.9.5 mergebeck2000-03-191-1/+32
| | | | | | *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-46/+16
|
* Import of SSLeay-0.9.0b with RSA and IDEA stubbed + OpenBSD buildryker1998-10-051-0/+585
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.