summaryrefslogtreecommitdiffstats
path: root/lib/libtls/tls.c
AgeCommit message (Expand)AuthorFilesLines
2020-05-24Clear SSL_MODE_AUTO_RETRY in libtls, since we handle WANT_POLLIN correctly.jsing1-1/+3
2020-01-20Add support for TLSv1.3 as a protocol to libtls.jsing1-1/+4
2019-04-01Add a mutex to guard reference counting for tls_config.jsing1-1/+3
2018-11-29expose the default cert file as a function, not a define. it's reallytedu1-2/+2
2018-11-06Define TLS_CA_CERT_FILE rather than having every application create theirjsing1-2/+2
2018-04-07Switch to OPENSSL_init_ssl() and prevent an openssl configuration file fromjsing1-3/+2
2018-03-19Automatically handle library initialisation for libtls.jsing1-3/+2
2018-03-08un-revert tls_init pthread_once change, now that stub is added so that builds workbeck1-12/+20
2018-03-07backout. diff was not tested comprehensively, resulting in a broken tree.deraadt1-20/+12
2018-03-07Make tls_init() concurrently callable using pthread_once().beck1-12/+20
2018-02-10Move the keypair pubkey hash handling code to during config.jsing1-4/+29
2018-02-08Have tls_keypair_pubkey_hash() call tls_keypair_load_cert() instead ofjsing1-2/+3
2018-02-08Move tls_keypair_pubkey_hash() to the keypair file.jsing1-41/+1
2018-02-08Avoid a memory leak that results when the same tls_config is reused.jsing1-1/+4
2017-09-20Keep track of which keypair is in use by a TLS context.jsing1-1/+4
2017-08-28Fix unchecked return nitbeck1-2/+5
2017-08-09Don't use tls_cert_hash for the hashing used by the engine offloading magicclaudio1-7/+20
2017-07-06Add support for providing CRLs to libtls - once a CRL is provided wejsing1-1/+41
2017-06-22Use the tls_password_cb() callback with all PEM_read_bio_*() calls, so thatjsing1-6/+6
2017-06-22Fix incorrect indentation.jsing1-2/+2
2017-06-22Plug a memory leak in tls_keypair_cert_hash(), introduced in r1.60.jsing1-1/+3
2017-06-22Remove dead code that has remained hiding since ressl.c r1.14!jsing1-4/+1
2017-05-07Return an error if tls_handshake() is called on a TLS context that hasjsing1-1/+6
2017-05-06Perform reference counting for tls_config. This allows tls_config_free() tojsing1-3/+10
2017-04-05Add tls_peer_cert_chain_pem - To retreive the peer certificate and chainbeck1-1/+4
2017-04-05Internal changes to allow for relayd engine privsep. sends the hash of thebeck1-2/+65
2017-01-26Use a flag to track when we need to call SSL_shutdown(). This avoids anjsing1-2/+3
2017-01-22Disable session cache and tickets by default.claudio1-1/+5
2017-01-13whitespacederaadt1-3/+3
2017-01-03If certificate verification has been disabled, do not attempt to load ajsing1-5/+9
2017-01-03Revert previous - the original code was correct since X509_verify_cert()jsing1-5/+5
2017-01-02fix cert verify. a cert with an alt chain may verify but leave an errortedu1-5/+5
2016-12-26Hook up a certificate verify callback so that we can set user friendlyjsing1-4/+29
2016-11-05rename ocsp_ctx to ocspbeck1-6/+6
2016-11-03Only set an error from libssl related code, if an error has not alreadyjsing1-6/+41
2016-11-02Add OCSP client side support to libtls.beck1-1/+6
2016-09-04Add callback-based interface to libtls.bcook1-1/+5
2016-08-22Various clean up and reorganisation of the connection info handling code.jsing1-8/+5
2016-08-22Create contexts for server side SNI - these include the additional SSL_CTXjsing1-1/+27
2016-08-15Explicitly pass in an SSL_CTX * to the functions that operate on one,jsing1-23/+21
2016-08-13Load CA, certificate and key files into memory when the appropriatejsing1-27/+25
2016-08-12Add ALPN support to libtls.jsing1-1/+9
2016-08-02Revert previous since it adds new symbols.jsing1-9/+1
2016-08-01Add ALPN support to libtls.jsing1-1/+9
2016-07-07Revert previous - it introduces problems with a common privsep use case.jsing1-3/+20
2016-07-06Always load CA, key and certificate files at the time the configurationjsing1-20/+3
2016-07-06Correctly handle an EOF that occurs prior to the TLS handshake completing.jsing1-3/+6
2016-05-27Rename some of the internal error setting functions to more closely followjsing1-8/+36
2016-04-28Factor our the keypair handling in libtls. This results in more readablejsing1-22/+23
2016-04-28Rework the error handling in libtls so that we can associate errors withjsing1-15/+44